diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-07-14 16:56:58 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-08-19 20:12:31 -0400 |
commit | 527b3639616b21c257518ee7c26fbf05232db0c0 (patch) | |
tree | 2b0a839ad8506c6b14819a3647a7529b12a4e5b2 /arch/powerpc/platforms/powermac | |
parent | 066c4b87e927985a083481c92b4aebade8fe4ab3 (diff) |
powerpc/pmac: Fix PowerSurge SMP IPI allocation
The code for setting up the IPIs for SMP PowerSurge marchines bitrot,
it needs to properly map the HW interrupt number
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms/powermac')
-rw-r--r-- | arch/powerpc/platforms/powermac/smp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/powermac/smp.c b/arch/powerpc/platforms/powermac/smp.c index 6d4da7b46b41..937a38e73178 100644 --- a/arch/powerpc/platforms/powermac/smp.c +++ b/arch/powerpc/platforms/powermac/smp.c | |||
@@ -408,7 +408,7 @@ static void __init smp_psurge_setup_cpu(int cpu_nr) | |||
408 | /* reset the entry point so if we get another intr we won't | 408 | /* reset the entry point so if we get another intr we won't |
409 | * try to startup again */ | 409 | * try to startup again */ |
410 | out_be32(psurge_start, 0x100); | 410 | out_be32(psurge_start, 0x100); |
411 | if (setup_irq(30, &psurge_irqaction)) | 411 | if (setup_irq(irq_create_mapping(NULL, 30), &psurge_irqaction)) |
412 | printk(KERN_ERR "Couldn't get primary IPI interrupt"); | 412 | printk(KERN_ERR "Couldn't get primary IPI interrupt"); |
413 | } | 413 | } |
414 | 414 | ||