patch-2.2.0-pre1 linux/drivers/acorn/scsi/acornscsi.c

Next file: linux/drivers/acorn/scsi/fas216.c
Previous file: linux/drivers/acorn/net/ether1.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.132/linux/drivers/acorn/scsi/acornscsi.c linux/drivers/acorn/scsi/acornscsi.c
@@ -323,7 +323,7 @@
     save_flags (flags);
     sti ();
 
-    while (jiffies < target_jiffies) barrier();
+    while (time_before(jiffies, target_jiffies)) barrier();
 
     restore_flags (flags);
 }

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