lkml.org 
[lkml]   [2001]   [Dec]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject2.5.1 - fix qlogic pcmcia scsi

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/

\
 
 \ /
  Last update: 2005-03-22 13:18    [W:0.077 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site