diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2006-09-06 14:03:14 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-09-06 14:03:14 -0400 |
commit | e89bc81103bb8798daae2c1871229620ed725657 (patch) | |
tree | d5528a13524ef5d5be1a47cd2fe33f673bb84558 /include | |
parent | c336923b668fdcf0312efbec3b44895d713f4d81 (diff) |
[ARM] 3766/1: Fix typo in ARM _raw_read_trylock
Patch from Catalin Marinas
A comma was missing between tmp and tmp2.
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-arm/spinlock.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-arm/spinlock.h b/include/asm-arm/spinlock.h index e2f1d75171df..01b7c26a3038 100644 --- a/include/asm-arm/spinlock.h +++ b/include/asm-arm/spinlock.h | |||
@@ -201,7 +201,7 @@ static inline void __raw_read_unlock(raw_rwlock_t *rw) | |||
201 | 201 | ||
202 | static inline int __raw_read_trylock(raw_rwlock_t *rw) | 202 | static inline int __raw_read_trylock(raw_rwlock_t *rw) |
203 | { | 203 | { |
204 | unsigned long tmp tmp2 = 1; | 204 | unsigned long tmp, tmp2 = 1; |
205 | 205 | ||
206 | __asm__ __volatile__( | 206 | __asm__ __volatile__( |
207 | "1: ldrex %0, [%2]\n" | 207 | "1: ldrex %0, [%2]\n" |