We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2ff717 commit e710d66Copy full SHA for e710d66
arch/mips/mm/tlb-r4k.c
@@ -67,8 +67,11 @@ void local_flush_tlb_all(void)
67
68
entry = read_c0_wired();
69
70
- /* Blast 'em all away. */
71
- if (cpu_has_tlbinv) {
+ /*
+ * Blast 'em all away.
72
+ * If there are any wired entries, fall back to iterating
73
+ */
74
+ if (cpu_has_tlbinv && !entry) {
75
if (current_cpu_data.tlbsizevtlb) {
76
write_c0_index(0);
77
mtc0_tlbw_hazard();
0 commit comments