patch-2.1.105 linux/include/asm-alpha/mcpcia.h
Next file: linux/include/asm-alpha/pyxis.h
Previous file: linux/include/asm-alpha/lca.h
Back to the patch index
Back to the overall index
-  Lines: 18
-  Date:
Sat Jun  6 18:52:04 1998
-  Orig file: 
v2.1.104/linux/include/asm-alpha/mcpcia.h
-  Orig date: 
Wed Apr  1 20:11:53 1998
diff -u --recursive --new-file v2.1.104/linux/include/asm-alpha/mcpcia.h linux/include/asm-alpha/mcpcia.h
@@ -285,7 +285,7 @@
 	unsigned long hose = (in_addr >> 32) & 3;
 	unsigned int w;
 
-	asm ("insbl %2,%1,%0" : "r="(w) : "ri"(addr & 0x3), "r"(b));
+	w = __kernel_insbl(b, addr & 3);
 	*(vuip) ((addr << 5) + MCPCIA_IO(hose) + 0x00) = w;
 	mb();
 }
@@ -305,7 +305,7 @@
 	unsigned long hose = (in_addr >> 32) & 3;
 	unsigned int w;
 
-	asm ("inswl %2,%1,%0" : "r="(w) : "ri"(addr & 0x3), "r"(b));
+	w = __kernel_inswl(b, addr & 3);
 	*(vuip) ((addr << 5) + MCPCIA_IO(hose) + 0x08) = w;
 	mb();
 }
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov