trivial secondary cache probe fix for R5000/NEVADA - v2
PATCH 1/1 trivial secondary cache probe fix for R5000/NEVADA - v2
Hi Ralf,
How's this then?
/Brian
Index: arch/mips/mm/c-r4k.c
===================================================================
RCS file: /cvs/linux/arch/mips/mm/c-r4k.c,v
retrieving revision 1.3.2.37
mips/mm/c-r4k.c +9 -11
@@ -1000,6 +1000,14 @@ sc_present =probe_scache_kseg1 (config);break ; +case CPU_R5000 : +case CPU_NEVADA : +setup_noscache_funcs (); +#ifdef CONFIG_R5000_CPU_SCACHE +r5k_sc_init (); +#endif +return ; +default : sc_present =0 ; }
@@ -1014,17 +1022,7 @@ !(current_cpu_data.scache.flags & MIPS_CACHE_NOT_PRESENT))panic ("Dunno how to handle MIPS32 / MIPS64 second level cache" ); -switch (current_cpu_data.cputype) { -case CPU_R5000 : -case CPU_NEVADA : -setup_noscache_funcs (); -#ifdef CONFIG_R5000_CPU_SCACHE -r5k_sc_init (); -#endif -break ; -default : -setup_scache_funcs (); - } +setup_scache_funcs (); }void __init ld_mmu_r4xx0 (void )
Quoted 2 lines · Brian Murphy
Hi Ralf,
How's this then?
Even better, applied.
Ralf