Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
case tlb_indexed: tlbw = i_tlbwi; break;
}
case tlb_indexed: tlbw = i_tlbwi; break;
}
+ if (cpu_has_mips_r2) {
+ i_ehb(p);
+ tlbw(p);
+ return;
+ }
+
switch (current_cpu_type()) {
case CPU_R4000PC:
case CPU_R4000SC:
switch (current_cpu_type()) {
case CPU_R4000PC:
case CPU_R4000SC:
- case CPU_4KEC:
- case CPU_24K:
- case CPU_34K:
- case CPU_74K:
- i_ehb(p);
- tlbw(p);
- break;
-
case CPU_RM9000:
/*
* When the JTLB is updated by tlbwi or tlbwr, a subsequent
case CPU_RM9000:
/*
* When the JTLB is updated by tlbwi or tlbwr, a subsequent