summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorHarald Koerfgen <hkoerfg@web.de>1999-04-11 17:09:40 +0000
committerHarald Koerfgen <hkoerfg@web.de>1999-04-11 17:09:40 +0000
commit30d8d197749ab4766ed02604af02068a00b32964 (patch)
tree92a0c60afd40c28d03ecff050e4a8048c7981017 /arch
parent67134debfe2833bc2cfb4c42f754560c795baa71 (diff)
*** empty log message ***
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/baget/wbflush.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/mips/baget/wbflush.c b/arch/mips/baget/wbflush.c
new file mode 100644
index 000000000..4643f1780
--- /dev/null
+++ b/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)
+{
+}