patch-2.2.11 linux/arch/mips/baget/wbflush.c
Next file: linux/arch/mips/boot/Makefile
Previous file: linux/arch/mips/baget/vacserial.c
Back to the patch index
Back to the overall index
- Lines: 25
- Date:
Mon Aug 9 12:04:38 1999
- Orig file:
v2.2.10/linux/arch/mips/baget/wbflush.c
- Orig date:
Wed Dec 31 16:00:00 1969
diff -u --recursive --new-file v2.2.10/linux/arch/mips/baget/wbflush.c linux/arch/mips/baget/wbflush.c
@@ -0,0 +1,24 @@
+/*
+ * Setup the right wbflush routine for Baget/MIPS.
+ *
+ * Copyright (C) 1999 Gleb Raiko & Vladimir Roganov
+ */
+
+#include <asm/bootinfo.h>
+#include <asm/init.h>
+
+void (*__wbflush) (void);
+
+static void wbflush_baget(void);
+
+__initfunc(void wbflush_setup(void))
+{
+ __wbflush = wbflush_baget;
+}
+
+/*
+ * Baget/MIPS doesnt need to write back the WB.
+ */
+static void wbflush_baget(void)
+{
+}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)