patch-2.2.0-pre2 linux/include/asm-alpha/system.h

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

diff -u --recursive --new-file v2.2.0-pre1/linux/include/asm-alpha/system.h linux/include/asm-alpha/system.h
@@ -244,14 +244,14 @@
 
 	__asm__ __volatile__(
 	"1:	ldl_l %0,%2\n"
-	"	bis %3,%3,%1\n"
+	"	bis $31,%3,%1\n"
 	"	stl_c %1,%2\n"
 	"	beq %1,2f\n"
 	".section .text2,\"ax\"\n"
 	"2:	br 1b\n"
 	".previous"
 	: "=&r" (val), "=&r" (dummy), "=m" (*m)
-	: "r" (val), "m" (*m));
+	: "rI" (val), "m" (*m));
 
 	return val;
 }
@@ -262,14 +262,14 @@
 
 	__asm__ __volatile__(
 	"1:	ldq_l %0,%2\n"
-	"	bis %3,%3,%1\n"
+	"	bis $31,%3,%1\n"
 	"	stq_c %1,%2\n"
 	"	beq %1,2f\n"
 	".section .text2,\"ax\"\n"
 	"2:	br 1b\n"
 	".previous"
 	: "=&r" (val), "=&r" (dummy), "=m" (*m)
-	: "r" (val), "m" (*m));
+	: "rI" (val), "m" (*m));
 
 	return val;
 }

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