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:
c660439
)
[PATCH] Fix typo in x86_64 __build_write_lock_const assembly
author
Ben Collins
<ben.collins@ubuntu.com>
Fri, 23 Dec 2005 14:10:03 +0000
(09:10 -0500)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Sat, 24 Dec 2005 20:30:22 +0000
(12:30 -0800)
Based on __build_read_lock_const, this looked like a bug.
[ Indeed. Maybe nobody uses this version? Worth fixing up anyway ]
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-x86_64/rwlock.h
patch
|
blob
|
history
diff --git
a/include/asm-x86_64/rwlock.h
b/include/asm-x86_64/rwlock.h
index 8a78a4ace53c5e6294b3de06d8a0b96e4851fccd..9942cc393064a825d6f64159b9135b599f592b44 100644
(file)
--- a/
include/asm-x86_64/rwlock.h
+++ b/
include/asm-x86_64/rwlock.h
@@
-64,7
+64,7
@@
::"a" (rw) : "memory")
#define __build_write_lock_const(rw, helper) \
- asm volatile(LOCK "subl $" RW_LOCK_BIAS_STR ",
(%0)
\n\t" \
+ asm volatile(LOCK "subl $" RW_LOCK_BIAS_STR ",
%0
\n\t" \
"jnz 2f\n" \
"1:\n" \
LOCK_SECTION_START("") \