patch-2.3.14 linux/drivers/scsi/scsi_error.c

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

diff -u --recursive --new-file v2.3.13/linux/drivers/scsi/scsi_error.c linux/drivers/scsi/scsi_error.c
@@ -35,7 +35,11 @@
 #include "hosts.h"
 #include "constants.h"
 
-#define SHUTDOWN_SIGS	(sigmask(SIGKILL)|sigmask(SIGINT)|sigmask(SIGTERM))
+#ifdef MODULE
+	#define SHUTDOWN_SIGS	(sigmask(SIGKILL)|sigmask(SIGINT)|sigmask(SIGTERM))
+#else
+	#define SHUTDOWN_SIGS	(0UL)
+#endif
 
 #ifdef DEBUG
     #define SENSE_TIMEOUT SCSI_TIMEOUT

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