public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.5.1 - fix qlogic pcmcia scsi
@ 2001-12-17  2:21 brett
  2001-12-17 10:37 ` Jens Axboe
  0 siblings, 1 reply; 2+ messages in thread
From: brett @ 2001-12-17  2:21 UTC (permalink / raw)
  To: linux-kernel


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
 



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-12-17 10:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-17  2:21 2.5.1 - fix qlogic pcmcia scsi brett
2001-12-17 10:37 ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox