2.5.1 - fix qlogic pcmcia scsi

From: brett@bad-sports.com
Date: Sun Dec 16 2001 - 21:21:46 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/



This archive was generated by hypermail 2b29 : Sun Dec 23 2001 - 21:00:12 EST