patch-2.3.48 linux/include/asm-mips/wbflush.h

Next file: linux/include/asm-mips64/a.out.h
Previous file: linux/include/asm-mips/watch.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.47/linux/include/asm-mips/wbflush.h linux/include/asm-mips/wbflush.h
@@ -0,0 +1,36 @@
+/*
+ * Header file for using the wbflush routine
+ *
+ * This file is subject to the terms and conditions of the GNU General Public
+ * License.  See the file "COPYING" in the main directory of this archive
+ * for more details.
+ *
+ * Copyright (c) 1998 Harald Koerfgen
+ *
+ * $Id: wbflush.h,v 1.3 1999/10/07 07:27:43 raiko Exp $
+ */
+#ifndef __ASM_MIPS_WBFLUSH_H
+#define __ASM_MIPS_WBFLUSH_H
+
+#include <linux/config.h>
+
+#if defined(CONFIG_CPU_HAS_WB)
+/*
+ * R2000 or R3000
+ */
+extern void (*__wbflush) (void);
+
+#define wbflush() __wbflush()
+
+#else
+/*
+ * we don't need no stinkin' wbflush
+ */
+
+#define wbflush()
+
+#endif
+
+extern void wbflush_setup(void);
+
+#endif /* __ASM_MIPS_WBFLUSH_H */

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