[MIPS] pg-r4k.c: Fix a typo in an R4600 v2 erratum workaround
authorMaciej W. Rozycki <macro@linux-mips.org>
Tue, 2 Oct 2007 13:47:22 +0000 (14:47 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 3 Oct 2007 13:30:51 +0000 (14:30 +0100)
Restore a load from KSEG1 done as a workaround for an R4600 v2
erratum, dropped with 211be16de99a7424e66c0b6c0d00e2c970508ac2.

Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mm/pg-r4k.c

index dc795be62807d1d1bf22af966ad961d0918794bf..e47e9e9486bf962cef8e44aa4d265a875c6f94d0 100644 (file)
@@ -209,7 +209,7 @@ static inline void build_cdex_p(void)
        }
 
        if (R4600_V2_HIT_CACHEOP_WAR && cpu_is_r4600_v2_x())
-               build_insn_word(0x3c01a000);    /* lui     $at, 0xa000  */
+               build_insn_word(0x8c200000);    /* lw      $zero, ($at) */
 
        mi.c_format.opcode     = cache_op;
        mi.c_format.rs         = 4;             /* $a0 */