2.5.1 - fix qlogic pcmcia scsi

brett@bad-sports.com
Mon, 17 Dec 2001 13:21:46 +1100 (EST)


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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/