summaryrefslogtreecommitdiffstats
path: root/arch/mips/sni/pcimt_scache.c
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 /arch/mips/sni/pcimt_scache.c
parent9aa9eb41942b918f385ccabd2efdd6e7e4232165 (diff)
let it compile again
Diffstat (limited to 'arch/mips/sni/pcimt_scache.c')
-rw-r--r--arch/mips/sni/pcimt_scache.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/mips/sni/pcimt_scache.c b/arch/mips/sni/pcimt_scache.c
index ce9366a20..f0dd3fff4 100644
--- a/arch/mips/sni/pcimt_scache.c
+++ b/arch/mips/sni/pcimt_scache.c
@@ -16,6 +16,13 @@
#define cacheconf (*(volatile unsigned int *)PCIMT_CACHECONF)
#define invspace (*(volatile unsigned int *)PCIMT_INVSPACE)
+static void no_sc_noop(void) {}
+
+static struct bcache_ops sni_pcimt_sc_ops = {
+ (void *)no_sc_noop, (void *)no_sc_noop,
+ (void *)no_sc_noop, (void *)no_sc_noop
+};
+
void __init sni_pcimt_sc_init(void)
{
unsigned int scsiz, sc_size;
@@ -35,4 +42,6 @@ void __init sni_pcimt_sc_init(void)
sc_size = 128 << scsiz;
printk("%dkb second level cache detected, deactivating.\n", sc_size);
cacheconf = 0;
+
+ bcops = &sni_pcimt_sc_ops;
}