From: Ben Collins Date: Fri, 23 Dec 2005 14:10:03 +0000 (-0500) Subject: [PATCH] Fix typo in x86_64 __build_write_lock_const assembly X-Git-Tag: upstream/snapshot3+hdmi~44380 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e5c34a57c8b3a94b8d2b329936f8b1cbcc765307;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git [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 --- diff --git a/include/asm-x86_64/rwlock.h b/include/asm-x86_64/rwlock.h index 8a78a4a..9942cc3 100644 --- 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("") \