lkml.org 
[lkml]   [1999]   [Dec]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] for 2.3.32 scsi_debug to compile
Date
Hi,
This is a patch to compile scsi_debug.c in non-SMP configuration:

--- drivers/scsi/scsi_debug.c.old Mon Dec 13 23:10:09 1999
+++ drivers/scsi/scsi_debug.c Tue Dec 14 14:57:06 1999
@@ -211,11 +211,12 @@
/*
* The io_request_lock *must* be held at this point.
*/
+#ifdef CONFIG_SMP
if( io_request_lock.lock == 0 )
{
printk("Warning - io_request_lock is not held in queuecommand\n");
}
-
+#endif
/*
* If we are being notified of the mid-level reposessing a command due to timeout,
* just return.

--
=======================================================================
Andrzej M. Krzysztofowicz ankry@mif.pg.gda.pl
tel. (0-58) 347 14 61
Wydz.Fizyki Technicznej i Matematyki Stosowanej Politechniki Gdanskiej
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

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