patch-2.1.132 linux/include/asm-ppc/io.h
Next file: linux/include/asm-ppc/mmu_context.h
Previous file: linux/include/asm-ppc/amigappc.h
Back to the patch index
Back to the overall index
- Lines: 15
- Date:
Mon Dec 21 08:37:24 1998
- Orig file:
v2.1.131/linux/include/asm-ppc/io.h
- Orig date:
Thu Nov 19 09:56:29 1998
diff -u --recursive --new-file v2.1.131/linux/include/asm-ppc/io.h linux/include/asm-ppc/io.h
@@ -192,7 +192,13 @@
{
__asm__ __volatile__ ("eieio" : : : "memory");
}
-#define iobarrier() eieio()
+
+/* Enforce in-order execution of data I/O.
+ * No distinction between read/write on PPC; use eieio for all three.
+ */
+#define iobarrier_rw() eieio()
+#define iobarrier_r() eieio()
+#define iobarrier_w() eieio()
/*
* 8, 16 and 32 bit, big and little endian I/O operations, with barrier.
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov