Hey,
Small patch to fix compilation for my pcmcia scsi card, as broken by the
bio changes.
thanks,
/ Brett
--- drivers/scsi/qlogicfas.c.bak Mon Dec 17 12:54:48 2001
+++ drivers/scsi/qlogicfas.c Mon Dec 17 12:55:24 2001
@@ -467,10 +467,11 @@
static void do_ql_ihandl(int irq, void *dev_id, struct pt_regs *
regs)
{
unsigned long flags;
+ struct Scsi_Host *host = dev_id;
- spin_lock_irqsave(&io_request_lock, flags);
+ spin_lock_irqsave(&host->host_lock, flags);
ql_ihandl(irq, dev_id, regs);
- spin_unlock_irqrestore(&io_request_lock, flags);
+ spin_unlock_irqrestore(&host->host_lock, flags);
}
#endif
On Mon, Dec 17 2001, [email protected] wrote:
>
> Hey,
>
> Small patch to fix compilation for my pcmcia scsi card, as broken by the
> bio changes.
Excellent, thanks!
--
Jens Axboe