powerpc: remove the redundant _tlbil_pid at SMP case
PATCH 1/1 powerpc: remove the redundant _tlbil_pid at SMP case
Signed-off-by Dave Liu <[email protected]>
--- arch/powerpc/mm/tlb_nohash.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
arch/powerpc/mm/tlb_nohash.c +2 -1
@@ -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);
Signature · 1 line
1.5.4
Quoted 10 lines · Dave Liu
Signed-off-by Dave Liu <[email protected]>--- arch/powerpc/mm/tlb_nohash.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)arch/powerpc/mm/tlb_nohash.c +0
-0
arch/powerpc/mm/tlb_nohash.c void flush_tlb_kernel_range(unsigned long start, unsigned long end) · line 196
Quoted 9 lines
arch/powerpc/mm/tlb_nohash.c +2
-1@@ -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);
---