* [PATCH 2.6.15-git] Fix typo in x86_64 __build_write_lock_const assembly
@ 2005-12-23 14:10 Ben Collins
0 siblings, 0 replies; only message in thread
From: Ben Collins @ 2005-12-23 14:10 UTC (permalink / raw)
To: Linus Torvalds; +Cc: Linux Kernel Development
Based on __build_read_lock_const, this looked like a bug.
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("") \
--
Ben Collins <ben.collins@ubuntu.com>
Developer
Ubuntu Linux
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-12-23 14:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-23 14:10 [PATCH 2.6.15-git] Fix typo in x86_64 __build_write_lock_const assembly Ben Collins
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®