From: Ralf Baechle Date: Thu, 27 Jun 2013 00:04:25 +0000 (+0200) Subject: MIPS: tlbex: Fix size of area to be flushed. X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=3f90b82df110ef9cb33761b56ca85ae0d0372d4a;p=openwrt%2Fstaging%2Fblogic.git MIPS: tlbex: Fix size of area to be flushed. Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/mm/tlbex.c b/arch/mips/mm/tlbex.c index 7f6cd461dac5..2f88fd3a64cf 100644 --- a/arch/mips/mm/tlbex.c +++ b/arch/mips/mm/tlbex.c @@ -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 }