Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

[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>

authored by

Ben Collins and committed by
Linus Torvalds
e5c34a57 c660439b

+1 -1
+1 -1
include/asm-x86_64/rwlock.h
··· 64 64 ::"a" (rw) : "memory") 65 65 66 66 #define __build_write_lock_const(rw, helper) \ 67 - asm volatile(LOCK "subl $" RW_LOCK_BIAS_STR ",(%0)\n\t" \ 67 + asm volatile(LOCK "subl $" RW_LOCK_BIAS_STR ",%0\n\t" \ 68 68 "jnz 2f\n" \ 69 69 "1:\n" \ 70 70 LOCK_SECTION_START("") \