[PATCH] for 2.3.32 scsi_debug to compile

Andrzej Krzysztofowicz (ankry@green.mif.pg.gda.pl)
Tue, 14 Dec 1999 18:59:23 +0100 (CET)


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/