patch-2.4.22 linux-2.4.22/include/asm-sh/cachectl.h

Next file: linux-2.4.22/include/asm-sh/delay.h
Previous file: linux-2.4.22/include/asm-sh/bugs.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/include/asm-sh/cachectl.h linux-2.4.22/include/asm-sh/cachectl.h
@@ -0,0 +1,12 @@
+#ifndef _SH_CACHECTL_H
+#define _SH_CACHECTL_H
+
+/* Definitions for the cacheflush system call.  */
+
+#define CACHEFLUSH_D_INVAL	0x1	/* invalidate (without write back) */
+#define CACHEFLUSH_D_WB		0x2	/* write back (without invalidate) */
+#define CACHEFLUSH_D_PURGE	0x3	/* writeback and invalidate */
+
+#define CACHEFLUSH_I		0x4
+
+#endif /* _SH_CACHECTL_H */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)