X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Fppc%2Fplatforms%2Fpmac_smp.c;h=1a300ff409f501c2aa810f453dbb1dfd638c47ea;hb=9e1bf581d67d87a1d7fc0ea500729e3a03643a26;hp=d6624b018ed9816cba9027913c0ab3416fe7fb4d;hpb=8d40237c730b8be87c1b80a5d96b9c603fefa829;p=linux-2.6.git diff --git a/arch/ppc/platforms/pmac_smp.c b/arch/ppc/platforms/pmac_smp.c index d6624b018..1a300ff40 100644 --- a/arch/ppc/platforms/pmac_smp.c +++ b/arch/ppc/platforms/pmac_smp.c @@ -405,13 +405,6 @@ static void __init psurge_dual_sync_tb(int cpu_nr) smp_tb_synchronized = 1; } -static struct irqaction psurge_irqaction = { - .handler = psurge_primary_intr, - .flags = SA_INTERRUPT, - .mask = CPU_MASK_NONE, - .name = "primary IPI", -}; - static void __init smp_psurge_setup_cpu(int cpu_nr) { @@ -428,7 +421,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 (request_irq(30, psurge_primary_intr, SA_INTERRUPT, "primary IPI", NULL)) printk(KERN_ERR "Couldn't get primary IPI interrupt"); }