MIPS: tlbex: Fix size of area to be flushed.
authorRalf Baechle <ralf@linux-mips.org>
Thu, 27 Jun 2013 00:04:25 +0000 (02:04 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 27 Jun 2013 00:04:25 +0000 (02:04 +0200)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mm/tlbex.c

index 7f6cd461dac594008cbf2d967f23592a6d40cfff..2f88fd3a64cf5d9aa021e2789ef1888dd645d453 100644 (file)
@@ -2191,7 +2191,7 @@ static void __cpuinit flush_tlb_handlers(void)
                           (unsigned long)handle_tlbm + sizeof(handle_tlbm));
 #ifdef CONFIG_MIPS_PGD_C0_CONTEXT
        local_flush_icache_range((unsigned long)tlbmiss_handler_setup_pgd_array,
-                          (unsigned long)tlbmiss_handler_setup_pgd_array + sizeof(handle_tlbm));
+                          (unsigned long)tlbmiss_handler_setup_pgd_array + sizeof(tlbmiss_handler_setup_pgd_array));
 #endif
 }