Selaa lähdekoodia

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>
Dave Liu 16 vuotta sitten
vanhempi
commit
d6a09e0cd6
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 2 1
      arch/powerpc/mm/tlb_nohash.c

+ 2 - 1
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);