aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/parisc
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/parisc')
-rw-r--r--drivers/parisc/dino.c3
-rw-r--r--drivers/parisc/eisa.c4
-rw-r--r--drivers/parisc/gsc.c4
-rw-r--r--drivers/parisc/gsc.h2
-rw-r--r--drivers/parisc/power.c2
-rw-r--r--drivers/parisc/superio.c4
6 files changed, 9 insertions, 10 deletions
diff --git a/drivers/parisc/dino.c b/drivers/parisc/dino.c
index 0d96c50ffe9c..a0a8fd8d2124 100644
--- a/drivers/parisc/dino.c
+++ b/drivers/parisc/dino.c
@@ -368,8 +368,7 @@ static struct hw_interrupt_type dino_interrupt_type = {
368 * ilr_loop counter is a kluge to prevent a "stuck" IRQ line from 368 * ilr_loop counter is a kluge to prevent a "stuck" IRQ line from
369 * wedging the CPU. Could be removed or made optional at some point. 369 * wedging the CPU. Could be removed or made optional at some point.
370 */ 370 */
371static irqreturn_t 371static irqreturn_t dino_isr(int irq, void *intr_dev)
372dino_isr(int irq, void *intr_dev, struct pt_regs *regs)
373{ 372{
374 struct dino_device *dino_dev = intr_dev; 373 struct dino_device *dino_dev = intr_dev;
375 u32 mask; 374 u32 mask;
diff --git a/drivers/parisc/eisa.c b/drivers/parisc/eisa.c
index 884965cedec9..094562e044f3 100644
--- a/drivers/parisc/eisa.c
+++ b/drivers/parisc/eisa.c
@@ -199,7 +199,7 @@ static struct hw_interrupt_type eisa_interrupt_type = {
199 .end = no_end_irq, 199 .end = no_end_irq,
200}; 200};
201 201
202static irqreturn_t eisa_irq(int wax_irq, void *intr_dev, struct pt_regs *regs) 202static irqreturn_t eisa_irq(int wax_irq, void *intr_dev)
203{ 203{
204 int irq = gsc_readb(0xfc01f000); /* EISA supports 16 irqs */ 204 int irq = gsc_readb(0xfc01f000); /* EISA supports 16 irqs */
205 unsigned long flags; 205 unsigned long flags;
@@ -249,7 +249,7 @@ static irqreturn_t eisa_irq(int wax_irq, void *intr_dev, struct pt_regs *regs)
249 return IRQ_HANDLED; 249 return IRQ_HANDLED;
250} 250}
251 251
252static irqreturn_t dummy_irq2_handler(int _, void *dev, struct pt_regs *regs) 252static irqreturn_t dummy_irq2_handler(int _, void *dev)
253{ 253{
254 printk(KERN_ALERT "eisa: uhh, irq2?\n"); 254 printk(KERN_ALERT "eisa: uhh, irq2?\n");
255 return IRQ_HANDLED; 255 return IRQ_HANDLED;
diff --git a/drivers/parisc/gsc.c b/drivers/parisc/gsc.c
index b45aa5c675a0..1b3e3fd12d95 100644
--- a/drivers/parisc/gsc.c
+++ b/drivers/parisc/gsc.c
@@ -73,7 +73,7 @@ EXPORT_SYMBOL(gsc_alloc_irq);
73EXPORT_SYMBOL(gsc_claim_irq); 73EXPORT_SYMBOL(gsc_claim_irq);
74 74
75/* Common interrupt demultiplexer used by Asp, Lasi & Wax. */ 75/* Common interrupt demultiplexer used by Asp, Lasi & Wax. */
76irqreturn_t gsc_asic_intr(int gsc_asic_irq, void *dev, struct pt_regs *regs) 76irqreturn_t gsc_asic_intr(int gsc_asic_irq, void *dev)
77{ 77{
78 unsigned long irr; 78 unsigned long irr;
79 struct gsc_asic *gsc_asic = dev; 79 struct gsc_asic *gsc_asic = dev;
@@ -87,7 +87,7 @@ irqreturn_t gsc_asic_intr(int gsc_asic_irq, void *dev, struct pt_regs *regs)
87 do { 87 do {
88 int local_irq = __ffs(irr); 88 int local_irq = __ffs(irr);
89 unsigned int irq = gsc_asic->global_irq[local_irq]; 89 unsigned int irq = gsc_asic->global_irq[local_irq];
90 __do_IRQ(irq, regs); 90 __do_IRQ(irq);
91 irr &= ~(1 << local_irq); 91 irr &= ~(1 << local_irq);
92 } while (irr); 92 } while (irr);
93 93
diff --git a/drivers/parisc/gsc.h b/drivers/parisc/gsc.h
index a3dc456709d7..762a1babad60 100644
--- a/drivers/parisc/gsc.h
+++ b/drivers/parisc/gsc.h
@@ -44,4 +44,4 @@ void gsc_fixup_irqs(struct parisc_device *parent, void *ctrl,
44 void (*choose)(struct parisc_device *child, void *ctrl)); 44 void (*choose)(struct parisc_device *child, void *ctrl));
45void gsc_asic_assign_irq(struct gsc_asic *asic, int local_irq, int *irqp); 45void gsc_asic_assign_irq(struct gsc_asic *asic, int local_irq, int *irqp);
46 46
47irqreturn_t gsc_asic_intr(int irq, void *dev, struct pt_regs *regs); 47irqreturn_t gsc_asic_intr(int irq, void *dev);
diff --git a/drivers/parisc/power.c b/drivers/parisc/power.c
index 2eb3577a88c5..97e9dc066f95 100644
--- a/drivers/parisc/power.c
+++ b/drivers/parisc/power.c
@@ -188,7 +188,7 @@ static void polling_tasklet_func(unsigned long soft_power_reg)
188 * powerfail interruption handler (irq IRQ_FROM_REGION(CPU_IRQ_REGION)+2) 188 * powerfail interruption handler (irq IRQ_FROM_REGION(CPU_IRQ_REGION)+2)
189 */ 189 */
190#if 0 190#if 0
191static void powerfail_interrupt(int code, void *x, struct pt_regs *regs) 191static void powerfail_interrupt(int code, void *x)
192{ 192{
193 printk(KERN_CRIT "POWERFAIL INTERRUPTION !\n"); 193 printk(KERN_CRIT "POWERFAIL INTERRUPTION !\n");
194 poweroff(); 194 poweroff();
diff --git a/drivers/parisc/superio.c b/drivers/parisc/superio.c
index 4ee26a6d9e25..1fd97f7c8b98 100644
--- a/drivers/parisc/superio.c
+++ b/drivers/parisc/superio.c
@@ -94,7 +94,7 @@ static struct superio_device sio_dev;
94#define PFX SUPERIO ": " 94#define PFX SUPERIO ": "
95 95
96static irqreturn_t 96static irqreturn_t
97superio_interrupt(int parent_irq, void *devp, struct pt_regs *regs) 97superio_interrupt(int parent_irq, void *devp)
98{ 98{
99 u8 results; 99 u8 results;
100 u8 local_irq; 100 u8 local_irq;
@@ -138,7 +138,7 @@ superio_interrupt(int parent_irq, void *devp, struct pt_regs *regs)
138 } 138 }
139 139
140 /* Call the appropriate device's interrupt */ 140 /* Call the appropriate device's interrupt */
141 __do_IRQ(local_irq, regs); 141 __do_IRQ(local_irq);
142 142
143 /* set EOI - forces a new interrupt if a lower priority device 143 /* set EOI - forces a new interrupt if a lower priority device
144 * still needs service. 144 * still needs service.