aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/mm/sc-rm7k.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/arch/mips/mm/sc-rm7k.c b/arch/mips/mm/sc-rm7k.c
index de69bfbf506e..53634398a56d 100644
--- a/arch/mips/mm/sc-rm7k.c
+++ b/arch/mips/mm/sc-rm7k.c
@@ -95,16 +95,8 @@ static __cpuinit void __rm7k_sc_enable(void)
95 write_c0_taglo(0); 95 write_c0_taglo(0);
96 write_c0_taghi(0); 96 write_c0_taghi(0);
97 97
98 for (i = 0; i < scache_size; i += sc_lsize) { 98 for (i = 0; i < scache_size; i += sc_lsize)
99 __asm__ __volatile__ ( 99 cache_op(Index_Store_Tag_SD, CKSEG0ADDR(i));
100 ".set noreorder\n\t"
101 ".set mips3\n\t"
102 "cache %1, (%0)\n\t"
103 ".set mips0\n\t"
104 ".set reorder"
105 :
106 : "r" (CKSEG0ADDR(i)), "i" (Index_Store_Tag_SD));
107 }
108} 100}
109 101
110static __cpuinit void rm7k_sc_enable(void) 102static __cpuinit void rm7k_sc_enable(void)