patch-2.2.18 linux/include/asm-alpha/core_irongate.h
Next file: linux/include/asm-alpha/delay.h
Previous file: linux/fs/vfat/namei.c
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Sat Oct 28 11:34:51 2000
- Orig file:
v2.2.17/include/asm-alpha/core_irongate.h
- Orig date:
Fri Apr 21 12:46:47 2000
diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.17/include/asm-alpha/core_irongate.h linux/include/asm-alpha/core_irongate.h
@@ -505,21 +505,25 @@
__EXTERN_INLINE void irongate_writeb(unsigned char b, unsigned long addr)
{
__kernel_stb(b, *(vucp)(XADDR + IRONGATE_MEM));
+ mb();
}
__EXTERN_INLINE void irongate_writew(unsigned short b, unsigned long addr)
{
__kernel_stw(b, *(vusp)(XADDR + IRONGATE_MEM));
+ mb();
}
__EXTERN_INLINE void irongate_writel(unsigned int b, unsigned long addr)
{
*(vuip)(XADDR + IRONGATE_MEM) = b;
+ mb();
}
__EXTERN_INLINE void irongate_writeq(unsigned long b, unsigned long addr)
{
*(vulp)(XADDR + IRONGATE_MEM) = b;
+ mb();
}
/* Find the DENSE memory area for a given bus address. */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)