Browse Source

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

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle 12 years ago
parent
commit
3f90b82df1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/mips/mm/tlbex.c

+ 1 - 1
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
 }