Re: cpm2: Fix race condition in CPM2 GPIO library.

2008-08-20 Thread Kumar Gala
On Aug 19, 2008, at 7:20 AM, Laurent Pinchart wrote: The CPM2 GPIO library code uses the non thread-safe clrbits32/ setbits32 macros. This patch protects them with a spinlock. Signed-off-by: Laurent Pinchart <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/cpm_common.c | 37 +

cpm2: Fix race condition in CPM2 GPIO library.

2008-08-19 Thread Laurent Pinchart
The CPM2 GPIO library code uses the non thread-safe clrbits32/setbits32 macros. This patch protects them with a spinlock. Signed-off-by: Laurent Pinchart <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/cpm_common.c | 37 ++--- 1 files changed, 26 insertions(+), 11 de