projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c086f28
)
[ARM] 3019/1: fix wrong comments
author
Nicolas Pitre
<nico@cam.org>
Tue, 18 Oct 2005 06:51:34 +0000
(07:51 +0100)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Tue, 18 Oct 2005 06:51:34 +0000
(07:51 +0100)
Patch from Nicolas Pitre
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
include/asm-arm/locks.h
patch
|
blob
|
history
diff --git
a/include/asm-arm/locks.h
b/include/asm-arm/locks.h
index f08dc844791301f91871506a1c2c50d1a0f27e03..852220eecdbc5d3147528bd6853f2a039ae91543 100644
(file)
--- a/
include/asm-arm/locks.h
+++ b/
include/asm-arm/locks.h
@@
-103,7
+103,7
@@
({ \
smp_mb(); \
__asm__ __volatile__( \
- "@ up_op_
read\n"
\
+ "@ up_op_
write\n"
\
"1: ldrex lr, [%0]\n" \
" adds lr, lr, %1\n" \
" strex ip, lr, [%0]\n" \
@@
-231,7
+231,7
@@
#define __up_op_write(ptr,wake) \
({ \
__asm__ __volatile__( \
- "@ up_op_
read\n"
\
+ "@ up_op_
write\n"
\
" mrs ip, cpsr\n" \
" orr lr, ip, #128\n" \
" msr cpsr_c, lr\n" \