]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[PATCH] i386: Use early clobbers for semaphores now
authorAndi Kleen <ak@suse.de>
Wed, 27 Sep 2006 19:38:56 +0000 (21:38 +0200)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 27 Sep 2006 21:39:51 +0000 (14:39 -0700)
commit00463c1633b6d6a2178d2dc794c0a70ac2f9ce6b
tree83d02451139608ad70fb33c5f0e3bb90019841b2
parentcdb8355add9b1d87ecfcb58b12879897dc1e3e36
[PATCH] i386: Use early clobbers for semaphores now

The new code does clobber the result early, so make sure to tell
gcc to not put it into the same register as a input argument

Signed-off-by: Andi Kleen <ak@suse.de>
Cc: Andrew Morton <akpm@osdl.org>
Acked-by: Kyle McMartin <kyle@parisc-linux.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-i386/semaphore.h