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

Next file: linux/include/asm-alpha/core_mcpcia.h
Previous file: linux/fs/ufs/super.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.0-pre6/linux/include/asm-alpha/core_cia.h linux/include/asm-alpha/core_cia.h
@@ -328,7 +328,7 @@
 {
 	unsigned long w = __kernel_insbl(b, addr & 3);
 	*(vuip) ((addr << 5) + CIA_IO + 0x00) = w;
-	wmb();
+	mb();
 }
 
 __EXTERN_INLINE unsigned int cia_inw(unsigned long addr)
@@ -342,7 +342,7 @@
 {
 	unsigned long w = __kernel_inswl(b, addr & 3);
 	*(vuip) ((addr << 5) + CIA_IO + 0x08) = w;
-	wmb();
+	mb();
 }
 
 __EXTERN_INLINE unsigned int cia_inl(unsigned long addr)
@@ -353,7 +353,7 @@
 __EXTERN_INLINE void cia_outl(unsigned int b, unsigned long addr)
 {
 	*(vuip) ((addr << 5) + CIA_IO + 0x18) = b;
-	wmb();
+	mb();
 }
 
 

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