patch-2.2.0-pre7 linux/include/asm-alpha/spinlock.h

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

diff -u --recursive --new-file v2.2.0-pre6/linux/include/asm-alpha/spinlock.h linux/include/asm-alpha/spinlock.h
@@ -207,7 +207,7 @@
 	"	br	1b\n"
 	".previous"
 	: "=m" (__dummy_lock(lock)), "=&r" (regx)
-	: "0" (__dummy_lock(lock))
+	: "m" (__dummy_lock(lock))
 	);
 }
 #endif /* DEBUG_RWLOCK */
@@ -230,7 +230,7 @@
 	"6:	br	1b\n"
 	".previous"
 	: "=m" (__dummy_lock(lock)), "=&r" (regx)
-	: "0" (__dummy_lock(lock)));
+	: "m" (__dummy_lock(lock)));
 }
 
 #define read_lock_irq(lock)	(__cli(), read_lock(lock))

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov