patch-2.3.99-pre6 linux/drivers/scsi/tmscsim.h

Next file: linux/drivers/sound/Config.in
Previous file: linux/drivers/scsi/tmscsim.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre5/linux/drivers/scsi/tmscsim.h linux/drivers/scsi/tmscsim.h
@@ -8,6 +8,8 @@
 #ifndef _TMSCSIM_H
 #define _TMSCSIM_H
 
+#include <linux/config.h>
+
 #define IRQ_NONE 255
 
 #define MAX_ADAPTER_NUM 	4
@@ -210,7 +212,7 @@
 UCHAR		msgin123[4];
 UCHAR		DCBmap[MAX_SCSI_ID];
 
-#if defined(USE_SPINLOCKS) && USE_SPINLOCKS > 1 && (defined(__SMP__) || DEBUG_SPINLOCKS > 0)
+#if defined(USE_SPINLOCKS) && USE_SPINLOCKS > 1 && (defined(CONFIG_SMP) || DEBUG_SPINLOCKS > 0)
 spinlock_t	lock;
 #endif
 UCHAR		sel_timeout;

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