patch-2.1.105 linux/include/asm-alpha/t2.h

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

diff -u --recursive --new-file v2.1.104/linux/include/asm-alpha/t2.h linux/include/asm-alpha/t2.h
@@ -151,7 +151,7 @@
 {
 	unsigned int w;
 
-	asm ("insbl %2,%1,%0" : "r="(w) : "ri"(addr & 0x3), "r"(b));
+	w = __kernel_insbl(b, addr & 3);
 	*(vuip) ((addr << 5) + T2_IO + 0x00) = w;
 	mb();
 }
@@ -167,7 +167,7 @@
 {
 	unsigned int w;
 
-	asm ("inswl %2,%1,%0" : "r="(w) : "ri"(addr & 0x3), "r"(b));
+	w = __kernel_inswl(b, addr & 3);
 	*(vuip) ((addr << 5) + T2_IO + 0x08) = w;
 	mb();
 }

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