Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d6a09e0c authored by Dave Liu's avatar Dave Liu Committed by Benjamin Herrenschmidt
Browse files

powerpc: Remove the redundant _tlbil_pid at SMP case

parent 54cfd0d5
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -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);
	smp_call_function(do_flush_tlb_mm_ipi, NULL, 1);
	_tlbil_pid(0);
	_tlbil_pid(0);
	preempt_enable();
	preempt_enable();
#endif
#else
	_tlbil_pid(0);
	_tlbil_pid(0);
#endif
}
}
EXPORT_SYMBOL(flush_tlb_kernel_range);
EXPORT_SYMBOL(flush_tlb_kernel_range);