Commit 3f90b82d authored by Ralf Baechle's avatar Ralf Baechle

MIPS: tlbex: Fix size of area to be flushed.

Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent a3d9086b
...@@ -2191,7 +2191,7 @@ static void __cpuinit flush_tlb_handlers(void) ...@@ -2191,7 +2191,7 @@ static void __cpuinit flush_tlb_handlers(void)
(unsigned long)handle_tlbm + sizeof(handle_tlbm)); (unsigned long)handle_tlbm + sizeof(handle_tlbm));
#ifdef CONFIG_MIPS_PGD_C0_CONTEXT #ifdef CONFIG_MIPS_PGD_C0_CONTEXT
local_flush_icache_range((unsigned long)tlbmiss_handler_setup_pgd_array, 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 #endif
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment