* [PATCH] powerpc: remove the redundant _tlbil_pid at SMP case
@ 2008-12-31 9:42 Dave Liu
2008-12-31 11:05 ` Benjamin Herrenschmidt
0 siblings, 1 reply; 2+ messages in thread
From: Dave Liu @ 2008-12-31 9:42 UTC (permalink / raw)
To: linuxppc-dev
Signed-off-by: Dave Liu <daveliu@freescale.com>
---
arch/powerpc/mm/tlb_nohash.c | 3 ++-
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);
--
1.5.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] powerpc: remove the redundant _tlbil_pid at SMP case
2008-12-31 9:42 [PATCH] powerpc: remove the redundant _tlbil_pid at SMP case Dave Liu
@ 2008-12-31 11:05 ` Benjamin Herrenschmidt
0 siblings, 0 replies; 2+ messages in thread
From: Benjamin Herrenschmidt @ 2008-12-31 11:05 UTC (permalink / raw)
To: Dave Liu; +Cc: linuxppc-dev
On Wed, 2008-12-31 at 17:42 +0800, Dave Liu wrote:
> Signed-off-by: Dave Liu <daveliu@freescale.com>
> ---
> arch/powerpc/mm/tlb_nohash.c | 3 ++-
> 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);
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
---
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-12-31 11:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-31 9:42 [PATCH] powerpc: remove the redundant _tlbil_pid at SMP case Dave Liu
2008-12-31 11:05 ` Benjamin Herrenschmidt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).