aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/mips/mm/c-r4k.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/mm/c-r4k.c b/arch/mips/mm/c-r4k.c
index 18247a7bf335..15a60c7e1a70 100644
--- a/arch/mips/mm/c-r4k.c
+++ b/arch/mips/mm/c-r4k.c
@@ -773,6 +773,7 @@ static inline void rm7k_erratum31(void)
773 773
774 for (addr = INDEX_BASE; addr <= INDEX_BASE + 4096; addr += ic_lsize) { 774 for (addr = INDEX_BASE; addr <= INDEX_BASE + 4096; addr += ic_lsize) {
775 __asm__ __volatile__ ( 775 __asm__ __volatile__ (
776 ".set push\n\t"
776 ".set noreorder\n\t" 777 ".set noreorder\n\t"
777 ".set mips3\n\t" 778 ".set mips3\n\t"
778 "cache\t%1, 0(%0)\n\t" 779 "cache\t%1, 0(%0)\n\t"
@@ -787,8 +788,7 @@ static inline void rm7k_erratum31(void)
787 "cache\t%1, 0x1000(%0)\n\t" 788 "cache\t%1, 0x1000(%0)\n\t"
788 "cache\t%1, 0x2000(%0)\n\t" 789 "cache\t%1, 0x2000(%0)\n\t"
789 "cache\t%1, 0x3000(%0)\n\t" 790 "cache\t%1, 0x3000(%0)\n\t"
790 ".set\tmips0\n\t" 791 ".set pop\n"
791 ".set\treorder\n\t"
792 : 792 :
793 : "r" (addr), "i" (Index_Store_Tag_I), "i" (Fill)); 793 : "r" (addr), "i" (Index_Store_Tag_I), "i" (Fill));
794 } 794 }