arch/mips/mm/tlbex.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/arch/mips/mm/tlbex.c b/arch/mips/mm/tlbex.c index b131e6a77383..74f557ed50b0 100644 --- a/arch/mips/mm/tlbex.c +++ b/arch/mips/mm/tlbex.c @@ -2161,15 +2161,14 @@ static void build_r4000_tlb_load_handler(void) switch (current_cpu_type()) { default: - if (cpu_has_mips_r2_exec_hazard) { + if (cpu_has_mips_r2_exec_hazard) uasm_i_ehb(&p); - fallthrough; + break; case CPU_CAVIUM_OCTEON: case CPU_CAVIUM_OCTEON_PLUS: case CPU_CAVIUM_OCTEON2: - break; - } + break; } /* Examine entrylo 0 or 1 based on ptr. */ @@ -2237,14 +2236,14 @@ static void build_r4000_tlb_load_handler(void) switch (current_cpu_type()) { default: - if (cpu_has_mips_r2_exec_hazard) { + if (cpu_has_mips_r2_exec_hazard) uasm_i_ehb(&p); + break; case CPU_CAVIUM_OCTEON: case CPU_CAVIUM_OCTEON_PLUS: case CPU_CAVIUM_OCTEON2: - break; - } + break; } /* Examine entrylo 0 or 1 based on ptr. */