diff options
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/mm/tlbex.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/mm/tlbex.c b/arch/mips/mm/tlbex.c index 343fe0f559b1..cf8a9525f0fa 100644 --- a/arch/mips/mm/tlbex.c +++ b/arch/mips/mm/tlbex.c | |||
@@ -429,6 +429,7 @@ static void build_r3000_tlb_refill_handler(void) | |||
429 | (unsigned int)(p - tlb_handler)); | 429 | (unsigned int)(p - tlb_handler)); |
430 | 430 | ||
431 | memcpy((void *)ebase, tlb_handler, 0x80); | 431 | memcpy((void *)ebase, tlb_handler, 0x80); |
432 | local_flush_icache_range(ebase, ebase + 0x80); | ||
432 | 433 | ||
433 | dump_handler("r3000_tlb_refill", (u32 *)ebase, 32); | 434 | dump_handler("r3000_tlb_refill", (u32 *)ebase, 32); |
434 | } | 435 | } |
@@ -1416,6 +1417,7 @@ static void build_r4000_tlb_refill_handler(void) | |||
1416 | final_len); | 1417 | final_len); |
1417 | 1418 | ||
1418 | memcpy((void *)ebase, final_handler, 0x100); | 1419 | memcpy((void *)ebase, final_handler, 0x100); |
1420 | local_flush_icache_range(ebase, ebase + 0x100); | ||
1419 | 1421 | ||
1420 | dump_handler("r4000_tlb_refill", (u32 *)ebase, 64); | 1422 | dump_handler("r4000_tlb_refill", (u32 *)ebase, 64); |
1421 | } | 1423 | } |