Commit fad32c61 authored by David S. Miller's avatar David S. Miller

[SCSI AIC7XXX_OLD]: Update for irqreturn_t.

parent 73f926bd
...@@ -6484,7 +6484,7 @@ aic7xxx_isr(int irq, void *dev_id, struct pt_regs *regs) ...@@ -6484,7 +6484,7 @@ aic7xxx_isr(int irq, void *dev_id, struct pt_regs *regs)
* above. Please, children, do not try this at home, and if you ever see * above. Please, children, do not try this at home, and if you ever see
* anything like it, please inform the Gross Hack Police immediately * anything like it, please inform the Gross Hack Police immediately
*-F*************************************************************************/ *-F*************************************************************************/
static void static irqreturn_t
do_aic7xxx_isr(int irq, void *dev_id, struct pt_regs *regs) do_aic7xxx_isr(int irq, void *dev_id, struct pt_regs *regs)
{ {
unsigned long cpu_flags; unsigned long cpu_flags;
...@@ -6492,7 +6492,7 @@ do_aic7xxx_isr(int irq, void *dev_id, struct pt_regs *regs) ...@@ -6492,7 +6492,7 @@ do_aic7xxx_isr(int irq, void *dev_id, struct pt_regs *regs)
p = (struct aic7xxx_host *)dev_id; p = (struct aic7xxx_host *)dev_id;
if(!p) if(!p)
return; return IRQ_NONE;
spin_lock_irqsave(p->host->host_lock, cpu_flags); spin_lock_irqsave(p->host->host_lock, cpu_flags);
p->flags |= AHC_IN_ISR; p->flags |= AHC_IN_ISR;
do do
...@@ -6503,6 +6503,8 @@ do_aic7xxx_isr(int irq, void *dev_id, struct pt_regs *regs) ...@@ -6503,6 +6503,8 @@ do_aic7xxx_isr(int irq, void *dev_id, struct pt_regs *regs)
aic7xxx_run_waiting_queues(p); aic7xxx_run_waiting_queues(p);
p->flags &= ~AHC_IN_ISR; p->flags &= ~AHC_IN_ISR;
spin_unlock_irqrestore(p->host->host_lock, cpu_flags); spin_unlock_irqrestore(p->host->host_lock, cpu_flags);
return IRQ_HANDLED;
} }
/*+F************************************************************************* /*+F*************************************************************************
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment