cpm2: Fix race condition in CPM2 GPIO library.
Kumar Gala
galak at kernel.crashing.org
Thu Aug 21 15:16:07 EST 2008
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 <laurentp at cse-semaphore.com>
> ---
> arch/powerpc/sysdev/cpm_common.c | 37 +++++++++++++++++++++++++
> +-----------
> 1 files changed, 26 insertions(+), 11 deletions(-)
applied.
- k
More information about the Linuxppc-dev
mailing list