Skip to contentSkip to conversation

powerpc: remove the redundant _tlbil_pid at SMP case

PATCH In review Dave Liu 2 participants 2 messages Dec 31, 2008 PowerPC

lore
Share & tools
lore

Dave Liu

author
#0 lore raw

PATCH 1/1 powerpc: remove the redundant _tlbil_pid at SMP case

---
 arch/powerpc/mm/tlb_nohash.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
arch/powerpc/mm/tlb_nohash.c +2 -1
index 803a64c..39ac22b 100644
@@ -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
Acked-by on v1 1/1
#1 lore raw
Quoted 10 lines · Dave Liu
---
 arch/powerpc/mm/tlb_nohash.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
arch/powerpc/mm/tlb_nohash.c +0 -0
index 803a64c..39ac22b 100644

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);

---