patch-2.3.99-pre6 linux/drivers/scsi/tmscsim.c
Next file: linux/drivers/scsi/tmscsim.h
Previous file: linux/drivers/scsi/sym53c8xx_defs.h
Back to the patch index
Back to the overall index
-  Lines: 18
-  Date:
Fri Apr 21 16:08:45 2000
-  Orig file: 
v2.3.99-pre5/linux/drivers/scsi/tmscsim.c
-  Orig date: 
Thu Nov 11 20:11:49 1999
diff -u --recursive --new-file v2.3.99-pre5/linux/drivers/scsi/tmscsim.c linux/drivers/scsi/tmscsim.c
@@ -212,7 +212,7 @@
 
 # if USE_SPINLOCKS == 3 /* both */
 
-#  if defined (__SMP__) || DEBUG_SPINLOCKS > 0
+#  if defined (CONFIG_SMP) || DEBUG_SPINLOCKS > 0
 #   define DC390_LOCKA_INIT { spinlock_t __unlocked = SPIN_LOCK_UNLOCKED; pACB->lock = __unlocked; };
 #  else
 #   define DC390_LOCKA_INIT
@@ -241,7 +241,7 @@
 
 #  if USE_SPINLOCKS == 2 /* adapter specific locks */
 
-#   if defined (__SMP__) || DEBUG_SPINLOCKS > 0
+#   if defined (CONFIG_SMP) || DEBUG_SPINLOCKS > 0
 #    define DC390_LOCKA_INIT { spinlock_t __unlocked = SPIN_LOCK_UNLOCKED; pACB->lock = __unlocked; };
 #   else
 #    define DC390_LOCKA_INIT
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)