mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 18:39:59 +00:00
[PATCH] Fix typo in x86_64 __build_write_lock_const assembly
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>
This commit is contained in:
parent
c660439ba9
commit
e5c34a57c8
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@
|
||||||
::"a" (rw) : "memory")
|
::"a" (rw) : "memory")
|
||||||
|
|
||||||
#define __build_write_lock_const(rw, helper) \
|
#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" \
|
"jnz 2f\n" \
|
||||||
"1:\n" \
|
"1:\n" \
|
||||||
LOCK_SECTION_START("") \
|
LOCK_SECTION_START("") \
|
||||||
|
|
Loading…
Reference in a new issue