aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/mm/c-r4k.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/mm/c-r4k.c')
-rw-r--r--arch/mips/mm/c-r4k.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/mips/mm/c-r4k.c b/arch/mips/mm/c-r4k.c
index 2b6146241bde..d2b5b0c7afa0 100644
--- a/arch/mips/mm/c-r4k.c
+++ b/arch/mips/mm/c-r4k.c
@@ -936,7 +936,6 @@ static void __cpuinit probe_pcache(void)
936 case CPU_RM7000: 936 case CPU_RM7000:
937 rm7k_erratum31(); 937 rm7k_erratum31();
938 938
939 case CPU_RM9000:
940 icache_size = 1 << (12 + ((config & CONF_IC) >> 9)); 939 icache_size = 1 << (12 + ((config & CONF_IC) >> 9));
941 c->icache.linesz = 16 << ((config & CONF_IB) >> 5); 940 c->icache.linesz = 16 << ((config & CONF_IB) >> 5);
942 c->icache.ways = 4; 941 c->icache.ways = 4;
@@ -947,9 +946,7 @@ static void __cpuinit probe_pcache(void)
947 c->dcache.ways = 4; 946 c->dcache.ways = 4;
948 c->dcache.waybit = __ffs(dcache_size / c->dcache.ways); 947 c->dcache.waybit = __ffs(dcache_size / c->dcache.ways);
949 948
950#if !defined(CONFIG_SMP) || !defined(RM9000_CDEX_SMP_WAR)
951 c->options |= MIPS_CPU_CACHE_CDEX_P; 949 c->options |= MIPS_CPU_CACHE_CDEX_P;
952#endif
953 c->options |= MIPS_CPU_PREFETCH; 950 c->options |= MIPS_CPU_PREFETCH;
954 break; 951 break;
955 952
@@ -1234,7 +1231,6 @@ static void __cpuinit setup_scache(void)
1234 return; 1231 return;
1235 1232
1236 case CPU_RM7000: 1233 case CPU_RM7000:
1237 case CPU_RM9000:
1238#ifdef CONFIG_RM7000_CPU_SCACHE 1234#ifdef CONFIG_RM7000_CPU_SCACHE
1239 rm7k_sc_init(); 1235 rm7k_sc_init();
1240#endif 1236#endif