From: Jochen Friedrich Date: Wed, 27 Aug 2008 10:32:25 +0000 (+0200) Subject: powerpc/cpm1: Fix race condition in CPM1 GPIO library. X-Git-Tag: v2.6.28-rc1~569^2~59^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1eaf16a9e843aa915b86594b60ec6cd66c9eac7;p=pandora-kernel.git powerpc/cpm1: Fix race condition in CPM1 GPIO library. 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 , commit 639d64456e20cbfc866b18dc03cf9f9babc9c7cd. Signed-off-by: Jochen Friedrich Signed-off-by: Kumar Gala --- Reading git-diff-tree failed