patch-2.1.67 linux/drivers/scsi/BusLogic.h

Next file: linux/drivers/sound/CHANGELOG
Previous file: linux/drivers/net/zlib.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.66/linux/drivers/scsi/BusLogic.h linux/drivers/scsi/BusLogic.h
@@ -1529,7 +1529,12 @@
   unsigned long ProcessorFlags;
   save_flags(ProcessorFlags);
   sti();
-  while (--Seconds >= 0) udelay(1000000);
+  while (--Seconds >= 0) {
+  	int i = 1000;
+  	do {
+	  	udelay(1000);
+	} while (--i);
+  }
   restore_flags(ProcessorFlags);
 }
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov