From e0fc8c9572d7a4ddceb464dc8919591f6009da10 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Fri, 1 Sep 2000 20:44:34 +0000 Subject: Hopefully squash the R5k bug ... --- include/asm-mips/bcache.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'include/asm-mips') diff --git a/include/asm-mips/bcache.h b/include/asm-mips/bcache.h index cd2a267cf..e7c8071b0 100644 --- a/include/asm-mips/bcache.h +++ b/include/asm-mips/bcache.h @@ -11,8 +11,6 @@ #include -#ifdef CONFIG_BOARD_SCACHE - /* Some R4000 / R4400 / R4600 / R5000 machines may have a non-dma-coherent, chipset implemented caches. On machines with other CPUs the CPU does the cache thing itself. */ @@ -26,7 +24,7 @@ struct bcache_ops { extern void indy_sc_init(void); extern void sni_pcimt_sc_init(void); -#define DECLARE_BCOPS struct bcache_ops *bcops +#ifdef CONFIG_BOARD_SCACHE extern struct bcache_ops *bcops; @@ -54,8 +52,6 @@ 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) -- cgit v1.2.3