Commit 6c90d305 authored by Linus Torvalds's avatar Linus Torvalds Committed by Linus Torvalds

Fix extra parenthesis in the constant-address rwlock case.

Noted by Alexey Vyskubov
parent 983d56eb
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,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("") \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment