patch-2.3.33 linux/drivers/scsi/scsi_debug.c

Next file: linux/drivers/scsi/scsi_error.c
Previous file: linux/drivers/scsi/scsi.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.32/linux/drivers/scsi/scsi_debug.c linux/drivers/scsi/scsi_debug.c
@@ -208,6 +208,7 @@
 	sgcount = 0;
 	sgpnt = NULL;
 
+#ifdef CONFIG_SMP
         /*
          * The io_request_lock *must* be held at this point.
          */
@@ -215,6 +216,7 @@
         {
                 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,

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)