patch-2.3.9 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

diff -u --recursive --new-file v2.3.8/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)