[PATCH] cpm1: Fix race condition in CPM1 GPIO library.
Kumar Gala
galak at kernel.crashing.org
Fri Aug 29 22:10:35 EST 2008
On Aug 27, 2008, at 5:32 AM, Jochen Friedrich wrote:
> The CPM1 GPIO library code uses the non thread-safe clrbits32/
> setbits32
> macros. This patch protects them with a spinlock.
>
> Based on the CPM2 patch from Laurent Pinchart <laurentp at cse-semaphore.com
> >,
> commit 639d64456e20cbfc866b18dc03cf9f9babc9c7cd.
>
> Signed-off-by: Jochen Friedrich <jochen at scram.de>
> ---
> arch/powerpc/sysdev/cpm1.c | 74 ++++++++++++++++++++++++++++++
> +-------------
> 1 files changed, 52 insertions(+), 22 deletions(-)
applied.
- k
More information about the Linuxppc-dev
mailing list