diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2005-06-30 10:51:01 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2005-10-29 19:31:34 +0100 |
commit | 2c93e12cfec8cc668d4a2a2c8576dedabb7c69c8 (patch) | |
tree | 9081ae8c3b5c87ecbc6f1d94c85516ca767e907a /arch/mips/mm/tlbex.c | |
parent | c3455b0efc2b5b1bdc755602f77ce7f43725bf61 (diff) |
Avoid tlbw* hazards for the R4600/R4700/R5000.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/mm/tlbex.c')
-rw-r--r-- | arch/mips/mm/tlbex.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/mips/mm/tlbex.c b/arch/mips/mm/tlbex.c index 19bf0cc4091..3b737fafb9b 100644 --- a/arch/mips/mm/tlbex.c +++ b/arch/mips/mm/tlbex.c @@ -827,11 +827,16 @@ static __init void build_tlb_write_entry(u32 **p, struct label **l, i_nop(p); break; - case CPU_R4300: case CPU_R4600: case CPU_R4700: case CPU_R5000: case CPU_R5000A: + i_nop(p); + tlbw(p); + i_nop(p); + break; + + case CPU_R4300: case CPU_5KC: case CPU_TX49XX: case CPU_AU1000: |