From 1bb58fdb51c720e86c239ed5957ecac02d9b0920 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Mon, 11 Dec 2000 15:53:15 +0000 Subject: One more R3k fix from Maciej. --- arch/mips/kernel/setup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'arch/mips') diff --git a/arch/mips/kernel/setup.c b/arch/mips/kernel/setup.c index 15be0d1dc..1a679e64a 100644 --- a/arch/mips/kernel/setup.c +++ b/arch/mips/kernel/setup.c @@ -142,9 +142,9 @@ static inline int cpu_has_confreg(void) unsigned long size1, size2; unsigned long cfg = read_32bit_cp0_register(CP0_CONF); - size1 = r3k_cache_size(ST0_DE); + size1 = r3k_cache_size(ST0_ISC); write_32bit_cp0_register(CP0_CONF, cfg^CONF_AC); - size2 = r3k_cache_size(ST0_DE); + size2 = r3k_cache_size(ST0_ISC); write_32bit_cp0_register(CP0_CONF, cfg); return size1 != size2; #else -- cgit v1.2.3