patch-2.4.0-test11 linux/include/asm-alpha/spinlock.h

Next file: linux/include/asm-alpha/xor.h
Previous file: linux/include/asm-alpha/semaphore.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test10/linux/include/asm-alpha/spinlock.h linux/include/asm-alpha/spinlock.h
@@ -80,7 +80,7 @@
 	"	blbs	%0,2b\n"
 	"	br	1b\n"
 	".previous"
-	: "=r" (tmp), "=m" (lock->lock)
+	: "=&r" (tmp), "=m" (lock->lock)
 	: "m"(lock->lock) : "memory");
 }
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)