From: Catalin Marinas Date: Wed, 6 Sep 2006 18:03:14 +0000 (+0100) Subject: [ARM] 3766/1: Fix typo in ARM _raw_read_trylock X-Git-Tag: v2.6.18-rc7~10^2~10 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e89bc81103bb8798daae2c1871229620ed725657;p=linux-2.6 [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 Signed-off-by: Russell King --- diff --git a/include/asm-arm/spinlock.h b/include/asm-arm/spinlock.h index e2f1d75171..01b7c26a30 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) static inline int __raw_read_trylock(raw_rwlock_t *rw) { - unsigned long tmp tmp2 = 1; + unsigned long tmp, tmp2 = 1; __asm__ __volatile__( "1: ldrex %0, [%2]\n"