projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c336923
)
[ARM] 3766/1: Fix typo in ARM _raw_read_trylock
author
Catalin Marinas
<catalin.marinas@arm.com>
Wed, 6 Sep 2006 18:03:14 +0000
(19:03 +0100)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Wed, 6 Sep 2006 18:03:14 +0000
(19:03 +0100)
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>
include/asm-arm/spinlock.h
patch
|
blob
|
history
diff --git
a/include/asm-arm/spinlock.h
b/include/asm-arm/spinlock.h
index
e2f1d75
..
01b7c26
100644
(file)
--- 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"