patch-2.4.19 linux-2.4.19/drivers/scsi/cpqfcTSstructs.h

Next file: linux-2.4.19/drivers/scsi/cyberstorm.c
Previous file: linux-2.4.19/drivers/scsi/blz2060.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/drivers/scsi/cpqfcTSstructs.h linux-2.4.19/drivers/scsi/cpqfcTSstructs.h
@@ -27,7 +27,7 @@
 
 #define DbgDelay(secs) { int wait_time; printk( " DbgDelay %ds ", secs); \
                          for( wait_time=jiffies + (secs*HZ); \
-		         wait_time > jiffies ;) ; }
+		         time_before(jiffies, wait_time) ;) ; }
 
 #define CPQFCTS_DRIVER_VER(maj,min,submin) ((maj<<16)|(min<<8)|(submin))
 // don't forget to also change MODULE_DESCRIPTION in cpqfcTSinit.c

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