summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2013-06-27 02:04:25 +0200
committerRalf Baechle <ralf@linux-mips.org>2013-06-27 02:04:25 +0200
commit3f90b82df110ef9cb33761b56ca85ae0d0372d4a (patch)
treeed408d852d5d5c3baca41f0539d8d6526c6cac95
parenta3d9086bb121a6459c9ed0452e3c58891a504785 (diff)
downloadop-kernel-dev-3f90b82df110ef9cb33761b56ca85ae0d0372d4a.zip
op-kernel-dev-3f90b82df110ef9cb33761b56ca85ae0d0372d4a.tar.gz
MIPS: tlbex: Fix size of area to be flushed.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r--arch/mips/mm/tlbex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/mm/tlbex.c b/arch/mips/mm/tlbex.c
index 7f6cd46..2f88fd3 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
}
OpenPOWER on IntegriCloud