diff options
author | Jochen Friedrich <jochen@scram.de> | 2008-08-27 12:32:25 +0200 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2008-09-16 13:43:24 -0500 |
commit | f1eaf16a9e843aa915b86594b60ec6cd66c9eac7 (patch) | |
tree | 6c5caddb00117c566dd5c4a7e9eb654dfdaa6b10 /mm/bounce.c | |
parent | 1a9314a0f6f71cf13ddf9e58f1d4f507a5265056 (diff) |
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 <laurentp@cse-semaphore.com>,
commit 639d64456e20cbfc866b18dc03cf9f9babc9c7cd.
Signed-off-by: Jochen Friedrich <jochen@scram.de>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'mm/bounce.c')
0 files changed, 0 insertions, 0 deletions