patch-2.1.104 linux/drivers/scsi/scsi.c

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

diff -u --recursive --new-file v2.1.103/linux/drivers/scsi/scsi.c linux/drivers/scsi/scsi.c
@@ -1313,7 +1313,7 @@
 	 * host).
 	 */
 	spin_unlock_irq(&io_request_lock);
-	while (--ticks_remaining >= 0) udelay(1000000/HZ);
+	while (--ticks_remaining >= 0) mdelay(1+999/HZ);
 	host->last_reset = jiffies - MIN_RESET_DELAY;
 	spin_lock_irq(&io_request_lock);
     }

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