[PATCH] powerpc: irq change build breaks
authorOlof Johansson <olof@lixom.net>
Fri, 6 Oct 2006 01:31:10 +0000 (20:31 -0500)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 6 Oct 2006 01:39:04 +0000 (18:39 -0700)
Fix up some of the buildbreaks from the irq handler changes.

Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/powerpc/platforms/85xx/mpc85xx_ads.c
arch/powerpc/platforms/85xx/mpc85xx_cds.c
arch/powerpc/platforms/86xx/mpc86xx_hpcn.c
arch/powerpc/platforms/cell/interrupt.c
arch/powerpc/platforms/chrp/setup.c
arch/powerpc/platforms/powermac/pic.c
arch/powerpc/sysdev/qe_lib/qe_ic.c
arch/powerpc/sysdev/tsi108_pci.c
drivers/macintosh/via-cuda.c
sound/oss/dmasound/dmasound_awacs.c

index 28070e7ae5074fc36ee52929358b831ddcc8affd..8af7126fc6b9b12b2b53d6923bf2fa2ba8e4ef40 100644 (file)
@@ -72,7 +72,7 @@ static void cpm2_cascade(unsigned int irq, struct irq_desc *desc,
        int cascade_irq;
 
        while ((cascade_irq = cpm2_get_irq(regs)) >= 0) {
-               generic_handle_irq(cascade_irq, regs);
+               generic_handle_irq(cascade_irq);
        }
        desc->chip->eoi(irq);
 }
index 193a5d7921b5fc85be01ae26b61db84a34bc50c4..b92fc6976a47a1e65657af6f7968db205ae84c6f 100644 (file)
@@ -138,7 +138,7 @@ static void mpc85xx_8259_cascade(unsigned int irq, struct
        unsigned int cascade_irq = i8259_irq(regs);
 
        if (cascade_irq != NO_IRQ)
-               generic_handle_irq(cascade_irq, regs);
+               generic_handle_irq(cascade_irq);
 
        desc->chip->eoi(irq);
 }
index b637e8157f7b8c8df596b793831a9397d859e14a..8218703babde8d479027757cd1ce83f0d30dc08d 100644 (file)
@@ -58,7 +58,7 @@ static void mpc86xx_8259_cascade(unsigned int irq, struct irq_desc *desc,
 {
        unsigned int cascade_irq = i8259_irq(regs);
        if (cascade_irq != NO_IRQ)
-               generic_handle_irq(cascade_irq, regs);
+               generic_handle_irq(cascade_irq);
        desc->chip->eoi(irq);
 }
 #endif /* CONFIG_PCI */
index 434fb934dd20afe7c6fcf206641f413b1b464606..f8768b096f02d76734b7f3afe2511249844a07ac 100644 (file)
@@ -121,7 +121,7 @@ static void iic_ioexc_cascade(unsigned int irq, struct irq_desc *desc,
                                        irq_linear_revmap(iic_host,
                                                          base | cascade);
                                if (cirq != NO_IRQ)
-                                       generic_handle_irq(cirq, regs);
+                                       generic_handle_irq(cirq);
                        }
                /* post-ack level interrupts */
                ack = bits & ~IIC_ISR_EDGE_MASK;
index 488dbd9b51ae1e76aae82f59bd8ca59a81f6b7eb..35cd7a5f6834fc222e9dc2fc67495512b9308c6d 100644 (file)
@@ -340,7 +340,7 @@ static void chrp_8259_cascade(unsigned int irq, struct irq_desc *desc,
 {
        unsigned int cascade_irq = i8259_irq(regs);
        if (cascade_irq != NO_IRQ)
-               generic_handle_irq(cascade_irq, regs);
+               generic_handle_irq(cascade_irq);
        desc->chip->eoi(irq);
 }
 
index e93a115961aaba8f96a719a78396aaf97dd70cbf..5da677835c007aa7b194b5dd431dc9cafa722f06 100644 (file)
@@ -227,7 +227,7 @@ static irqreturn_t gatwick_action(int cpl, void *dev_id, struct pt_regs *regs)
                        continue;
                irq += __ilog2(bits);
                spin_unlock_irqrestore(&pmac_pic_lock, flags);
-               __do_IRQ(irq, regs);
+               __do_IRQ(irq);
                spin_lock_irqsave(&pmac_pic_lock, flags);
                rc = IRQ_HANDLED;
        }
index c229d07d4957627ebc3735e4354cd6b1a8bb5c86..0dec010bcbb5a2be13470cbd87dbd0be6796b31e 100644 (file)
@@ -343,7 +343,7 @@ void fastcall qe_ic_cascade_low(unsigned int irq, struct irq_desc *desc,
 
        chip->mask_ack(irq);
        if (cascade_irq != NO_IRQ)
-               generic_handle_irq(cascade_irq, regs);
+               generic_handle_irq(cascade_irq);
        chip->unmask(irq);
 }
 
@@ -359,7 +359,7 @@ void fastcall qe_ic_cascade_high(unsigned int irq, struct irq_desc *desc,
 
        chip->mask_ack(irq);
        if (cascade_irq != NO_IRQ)
-               generic_handle_irq(cascade_irq, regs);
+               generic_handle_irq(cascade_irq);
        chip->unmask(irq);
 }
 
index c28f69bef8e2012a9429a759d60257d71bd0405a..14f4a1ab6d187e9a2b0396f71fe2179388b7213e 100644 (file)
@@ -410,6 +410,6 @@ void tsi108_irq_cascade(unsigned int irq, struct irq_desc *desc,
 {
        unsigned int cascade_irq = get_pci_source();
        if (cascade_irq != NO_IRQ)
-               generic_handle_irq(cascade_irq, regs);
+               generic_handle_irq(cascade_irq);
        desc->chip->eoi(irq);
 }
index 64a07ccfe36971febf01be09e8d9d746be7eb914..df66291b1322651a2053637dfa41a9b6818732fc 100644 (file)
@@ -437,7 +437,7 @@ cuda_poll(void)
      * disable_irq(), would that work on m68k ? --BenH
      */
     local_irq_save(flags);
-    cuda_interrupt(0, NULL, NULL);
+    cuda_interrupt(0, NULL);
     local_irq_restore(flags);
 }
 
index 3bd19c36fcd9099b3da3066338503a80e0a55eb0..37773b1deea51e25e4d864fb405ab75528bca756 100644 (file)
@@ -465,7 +465,7 @@ tas_dmasound_init(void)
                        val = pmac_call_feature(PMAC_FTR_READ_GPIO, NULL, gpio_headphone_detect, 0);
                        pmac_call_feature(PMAC_FTR_WRITE_GPIO, NULL, gpio_headphone_detect, val | 0x80);
                        /* Trigger it */
-                       headphone_intr(0,NULL,NULL);
+                       headphone_intr(0, NULL);
                }
        }
        if (!gpio_headphone_irq) {
@@ -1499,7 +1499,7 @@ static int awacs_sleep_notify(struct pmu_sleep_notifier *self, int when)
                                write_audio_gpio(gpio_audio_reset, !gpio_audio_reset_pol);
                                msleep(150);
                                tas_leave_sleep(); /* Stub for now */
-                               headphone_intr(0,NULL,NULL);
+                               headphone_intr(0, NULL);
                                break;
                        case AWACS_DACA:
                                msleep(10); /* Check this !!! */