Commit 9f2b855d authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Jens Axboe

[PATCH] M68k wd33c93 locking

M68k wd33c93: host_lock is a pointer to a spinlock, not a spinlock (from Ralf
Bächle)
parent 0f11368f
...@@ -43,9 +43,9 @@ static irqreturn_t a2091_intr (int irq, void *dummy, struct pt_regs *fp) ...@@ -43,9 +43,9 @@ static irqreturn_t a2091_intr (int irq, void *dummy, struct pt_regs *fp)
continue; continue;
if (status & ISTR_INTS) { if (status & ISTR_INTS) {
spin_lock_irqsave(&instance->host_lock, flags); spin_lock_irqsave(instance->host_lock, flags);
wd33c93_intr (instance); wd33c93_intr (instance);
spin_unlock_irqrestore(&instance->host_lock, flags); spin_unlock_irqrestore(instance->host_lock, flags);
handled = 1; handled = 1;
} }
} }
......
...@@ -36,9 +36,9 @@ static irqreturn_t a3000_intr (int irq, void *dummy, struct pt_regs *fp) ...@@ -36,9 +36,9 @@ static irqreturn_t a3000_intr (int irq, void *dummy, struct pt_regs *fp)
return IRQ_NONE; return IRQ_NONE;
if (status & ISTR_INTS) if (status & ISTR_INTS)
{ {
spin_lock_irqsave(&a3000_host->host_lock, flags); spin_lock_irqsave(a3000_host->host_lock, flags);
wd33c93_intr (a3000_host); wd33c93_intr (a3000_host);
spin_unlock_irqrestore(&a3000_host->host_lock, flags); spin_unlock_irqrestore(a3000_host->host_lock, flags);
return IRQ_HANDLED; return IRQ_HANDLED;
} }
printk("Non-serviced A3000 SCSI-interrupt? ISTR = %02x\n", status); printk("Non-serviced A3000 SCSI-interrupt? ISTR = %02x\n", status);
......
...@@ -42,9 +42,9 @@ static irqreturn_t gvp11_intr (int irq, void *dummy, struct pt_regs *fp) ...@@ -42,9 +42,9 @@ static irqreturn_t gvp11_intr (int irq, void *dummy, struct pt_regs *fp)
if (!(status & GVP11_DMAC_INT_PENDING)) if (!(status & GVP11_DMAC_INT_PENDING))
continue; continue;
spin_lock_irqsave(&instance->host_lock, flags); spin_lock_irqsave(instance->host_lock, flags);
wd33c93_intr (instance); wd33c93_intr (instance);
spin_unlock_irqrestore(&instance->host_lock, flags); spin_unlock_irqrestore(instance->host_lock, flags);
handled = 1; handled = 1;
} }
return IRQ_RETVAL(handled); return IRQ_RETVAL(handled);
......
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