Browse Source

[MIPS] SMTC: Fix cp0 hazard.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle 18 years ago
parent
commit
c80697b3a0
1 changed files with 1 additions and 0 deletions
  1. 1 0
      arch/mips/kernel/smtc.c

+ 1 - 0
arch/mips/kernel/smtc.c

@@ -261,6 +261,7 @@ void smtc_configure_tlb(void)
 		    }
 		}
 		write_c0_mvpcontrol(read_c0_mvpcontrol() | MVPCONTROL_STLB);
+		ehb();
 
 		/*
 		 * Setup kernel data structures to use software total,