aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm/tlb_nohash.c
diff options
context:
space:
mode:
authorDave Liu <daveliu@freescale.com>2008-12-30 23:42:55 +0000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2009-01-08 16:25:13 +1100
commitd6a09e0cd6329db6f48b0015407a1b038d8fa64b (patch)
tree45322ab222dc6fe97caf5effe3586b955ba45b53 /arch/powerpc/mm/tlb_nohash.c
parent54cfd0d5cac9df4f7b32969156a55f7e0d9297ad (diff)
downloadkernel_samsung_smdk4412-d6a09e0cd6329db6f48b0015407a1b038d8fa64b.zip
kernel_samsung_smdk4412-d6a09e0cd6329db6f48b0015407a1b038d8fa64b.tar.gz
kernel_samsung_smdk4412-d6a09e0cd6329db6f48b0015407a1b038d8fa64b.tar.bz2
powerpc: Remove the redundant _tlbil_pid at SMP case
Signed-off-by: Dave Liu <daveliu@freescale.com> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/mm/tlb_nohash.c')
-rw-r--r--arch/powerpc/mm/tlb_nohash.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/mm/tlb_nohash.c b/arch/powerpc/mm/tlb_nohash.c
index 803a64c..39ac22b 100644
--- a/arch/powerpc/mm/tlb_nohash.c
+++ b/arch/powerpc/mm/tlb_nohash.c
@@ -189,8 +189,9 @@ void flush_tlb_kernel_range(unsigned long start, unsigned long end)
smp_call_function(do_flush_tlb_mm_ipi, NULL, 1);
_tlbil_pid(0);
preempt_enable();
-#endif
+#else
_tlbil_pid(0);
+#endif
}
EXPORT_SYMBOL(flush_tlb_kernel_range);