summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Ellerman <michael@ellerman.id.au>2005-06-30 07:07:21 +0200
committerPaul Mackerras <paulus@samba.org>2005-06-30 07:07:21 +0200
commitfc07695386067a4abbd5ac8c7974059eae0b0a79 (patch)
treea79796753b1a31dd92d045ddb0fbec7156e4b079
parent[PATCH] ppc64: Remove lpqueue pointer from the paca on iSeries (diff)
downloadlinux-fc07695386067a4abbd5ac8c7974059eae0b0a79.tar.xz
linux-fc07695386067a4abbd5ac8c7974059eae0b0a79.zip
[PATCH] ppc64: Spread lpevents by default on iSeries
With the previous patch in place, spreading lpevents by default becomes a one liner. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Acked-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
-rw-r--r--arch/ppc64/kernel/ItLpQueue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ppc64/kernel/ItLpQueue.c b/arch/ppc64/kernel/ItLpQueue.c
index e90dca8bd136..d37793467808 100644
--- a/arch/ppc64/kernel/ItLpQueue.c
+++ b/arch/ppc64/kernel/ItLpQueue.c
@@ -69,7 +69,7 @@ struct HvLpEvent * ItLpQueue_getNextLpEvent( struct ItLpQueue * lpQueue )
return nextLpEvent;
}
-unsigned long spread_lpevents = 1;
+unsigned long spread_lpevents = NR_CPUS;
int ItLpQueue_isLpIntPending( struct ItLpQueue * lpQueue )
{