IRQ: Maintain regs pointer globally rather than passing to IRQ handlers
[deliverable/linux.git] / drivers / fc4 / socal.c
index f52d1e5bd5a5b0cd68711db46e32a6ce1c4c18b5..a6b1ae256e16b4006373233bb18afdce83d09d98 100644 (file)
@@ -404,7 +404,7 @@ update_out:
        }
 }
 
-static irqreturn_t socal_intr(int irq, void *dev_id, struct pt_regs *regs)
+static irqreturn_t socal_intr(int irq, void *dev_id)
 {
        u32 cmd;
        unsigned long flags;
@@ -761,7 +761,7 @@ static inline void socal_init(struct sbus_dev *sdev, int no)
        
        irq = sdev->irqs[0];
 
-       if (request_irq (irq, socal_intr, SA_SHIRQ, "SOCAL", (void *)s)) {
+       if (request_irq (irq, socal_intr, IRQF_SHARED, "SOCAL", (void *)s)) {
                socal_printk ("Cannot order irq %d to go\n", irq);
                socals = s->next;
                return;
This page took 0.023797 seconds and 5 git commands to generate.