]> err.no Git - linux-2.6/commitdiff
[PATCH] ppc64: Spread lpevents by default on iSeries
authorMichael Ellerman <michael@ellerman.id.au>
Thu, 30 Jun 2005 05:07:21 +0000 (15:07 +1000)
committerPaul Mackerras <paulus@samba.org>
Thu, 30 Jun 2005 05:07:21 +0000 (15:07 +1000)
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>
arch/ppc64/kernel/ItLpQueue.c

index e90dca8bd1367ec775c1d983b931513226a83ab6..d37793467808446c4a54491189cb8a6a7b8cec5b 100644 (file)
@@ -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 )
 {