summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDave Jones <davej@suse.de>2002-04-02 19:19:34 -0800
committerDave Jones <davej@suse.de>2002-04-02 19:19:34 -0800
commit382e519afb3f13cbf72b6ff12551d001a1690ceb (patch)
tree4280ac9c2fb5683edb7d44cda920c054e5792bcf /include
parent043b111e7baa49162837efc6c63d988e96024c96 (diff)
[PATCH] fix broken asm constraint
Simple compile fix.
Diffstat (limited to 'include')
-rw-r--r--include/asm-i386/rwsem.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-i386/rwsem.h b/include/asm-i386/rwsem.h
index 3cac14272380..9caff19cfd2e 100644
--- a/include/asm-i386/rwsem.h
+++ b/include/asm-i386/rwsem.h
@@ -164,7 +164,7 @@ LOCK_PREFIX " xadd %%edx,(%%eax)\n\t" /* subtracts 1, returns the old valu
" jmp 1b\n"
LOCK_SECTION_END
"# ending __up_read\n"
- : "+m"(sem->count), "+d"(tmp)
+ : /*"+m"(sem->count),*/ "+d"(tmp)
: "a"(sem)
: "memory", "cc");
}