diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-07-14 20:56:58 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-11-09 16:23:11 -0800 |
commit | e434e9fc1661989db1a39b6f5be29c39e13b419a (patch) | |
tree | 1b8d36833876bdc0ac5d7f60b3ce7a5b887dad21 /arch | |
parent | 6fa5a4d48a5cb7aa452cc34120f9122301ec8c93 (diff) |
powerpc/pmac: Fix PowerSurge SMP IPI allocation
commit 527b3639616b21c257518ee7c26fbf05232db0c0 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch')
-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) /* reset the entry point so if we get another intr we won't * try to startup again */ out_be32(psurge_start, 0x100); - if (setup_irq(30, &psurge_irqaction)) + if (setup_irq(irq_create_mapping(NULL, 30), &psurge_irqaction)) printk(KERN_ERR "Couldn't get primary IPI interrupt"); } |