summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHarald Koerfgen <hkoerfg@web.de>2000-08-08 17:04:35 +0000
committerHarald Koerfgen <hkoerfg@web.de>2000-08-08 17:04:35 +0000
commitb62a3d8e8a9d02ff6f9103358b7a9c2c3d56c653 (patch)
treeea3ced23840f5a8192eac663c4c714200ada1f33 /include
parent9aa9eb41942b918f385ccabd2efdd6e7e4232165 (diff)
let it compile again
Diffstat (limited to 'include')
-rw-r--r--include/asm-mips/bcache.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-mips/bcache.h b/include/asm-mips/bcache.h
index e6ecc5c6f..cd2a267cf 100644
--- a/include/asm-mips/bcache.h
+++ b/include/asm-mips/bcache.h
@@ -26,6 +26,8 @@ struct bcache_ops {
extern void indy_sc_init(void);
extern void sni_pcimt_sc_init(void);
+#define DECLARE_BCOPS struct bcache_ops *bcops
+
extern struct bcache_ops *bcops;
extern inline void bc_enable(void)
@@ -52,6 +54,8 @@ extern inline void bc_inv(unsigned long page, unsigned long size)
/* Not R4000 / R4400 / R4600 / R5000. */
+#define DECLARE_BCOPS
+
#define bc_enable() do { } while (0)
#define bc_disable() do { } while (0)
#define bc_wback_inv(page, size) do { } while (0)