patch-pre2.0.9 linux/include/asm-alpha/bitops.h

Next file: linux/include/asm-i386/checksum.h
Previous file: linux/fs/read_write.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file pre2.0.8/linux/include/asm-alpha/bitops.h linux/include/asm-alpha/bitops.h
@@ -31,7 +31,7 @@
 		:"=&r" (temp),
 		 "=m" (*m),
 		 "=&r" (oldbit)
-		:"r" (1UL << (nr & 31)),
+		:"Ir" (1UL << (nr & 31)),
 		 "m" (*m));
 	return oldbit != 0;
 }
@@ -54,7 +54,7 @@
 		:"=&r" (temp),
 		 "=m" (*m),
 		 "=&r" (oldbit)
-		:"r" (1UL << (nr & 31)),
+		:"Ir" (1UL << (nr & 31)),
 		 "m" (*m));
 	return oldbit != 0;
 }
@@ -75,7 +75,7 @@
 		:"=&r" (temp),
 		 "=m" (*m),
 		 "=&r" (oldbit)
-		:"r" (1UL << (nr & 31)),
+		:"Ir" (1UL << (nr & 31)),
 		 "m" (*m));
 	return oldbit != 0;
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this