aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/parisc/eisa.c
diff options
context:
space:
mode:
authorKyle McMartin <kyle@dreadnought.i.jkkm.org>2010-10-13 21:00:55 -0400
committerKyle McMartin <kyle@dreadnought.i.jkkm.org>2010-10-14 01:30:11 -0400
commitba20085c20f1c9e8af546dea6ad0efa421bdef32 (patch)
treea5f0574f6b1e60526eb7d1b1e1a50125f10d463c /drivers/parisc/eisa.c
parentcaf96194c05cd97ce96546fbcb1f35ec06aaaac7 (diff)
parisc: lay groundwork for killing __do_IRQ
Use proper accessors and handlers for generic irq cleanups. We just call back into __do_IRQ through desc->handler now, and remove the explicit calls. Signed-off-by: Kyle McMartin <kyle@redhat.com>
Diffstat (limited to 'drivers/parisc/eisa.c')
-rw-r--r--drivers/parisc/eisa.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/parisc/eisa.c b/drivers/parisc/eisa.c
index 46f503fb7fc5..585417702211 100644
--- a/drivers/parisc/eisa.c
+++ b/drivers/parisc/eisa.c
@@ -233,7 +233,7 @@ static irqreturn_t eisa_irq(int wax_irq, void *intr_dev)
233 } 233 }
234 spin_unlock_irqrestore(&eisa_irq_lock, flags); 234 spin_unlock_irqrestore(&eisa_irq_lock, flags);
235 235
236 __do_IRQ(irq); 236 generic_handle_irq(irq);
237 237
238 spin_lock_irqsave(&eisa_irq_lock, flags); 238 spin_lock_irqsave(&eisa_irq_lock, flags);
239 /* unmask */ 239 /* unmask */
@@ -346,10 +346,10 @@ static int __init eisa_probe(struct parisc_device *dev)
346 } 346 }
347 347
348 /* Reserve IRQ2 */ 348 /* Reserve IRQ2 */
349 irq_to_desc(2)->action = &irq2_action; 349 setup_irq(2, &irq2_action);
350
351 for (i = 0; i < 16; i++) { 350 for (i = 0; i < 16; i++) {
352 irq_to_desc(i)->chip = &eisa_interrupt_type; 351 set_irq_chip_and_handler(i, &eisa_interrupt_type,
352 parisc_do_IRQ);
353 } 353 }
354 354
355 EISA_bus = 1; 355 EISA_bus = 1;