diff options
author | Harald Koerfgen <hkoerfg@web.de> | 2000-08-08 17:04:35 +0000 |
---|---|---|
committer | Harald Koerfgen <hkoerfg@web.de> | 2000-08-08 17:04:35 +0000 |
commit | b62a3d8e8a9d02ff6f9103358b7a9c2c3d56c653 (patch) | |
tree | ea3ced23840f5a8192eac663c4c714200ada1f33 /arch/mips/sni | |
parent | 9aa9eb41942b918f385ccabd2efdd6e7e4232165 (diff) |
let it compile again
Diffstat (limited to 'arch/mips/sni')
-rw-r--r-- | arch/mips/sni/pcimt_scache.c | 9 | ||||
-rw-r--r-- | arch/mips/sni/setup.c | 1 |
2 files changed, 9 insertions, 1 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; } diff --git a/arch/mips/sni/setup.c b/arch/mips/sni/setup.c index f174c7efd..bcfc3efd8 100644 --- a/arch/mips/sni/setup.c +++ b/arch/mips/sni/setup.c @@ -22,7 +22,6 @@ #include <linux/pc_keyb.h> #include <linux/ide.h> -#include <asm/bcache.h> #include <asm/bootinfo.h> #include <asm/keyboard.h> #include <asm/io.h> |