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

Next file: linux/drivers/ap1000/ddv_util.c
Previous file: linux/drivers/acorn/scsi/acornscsi.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.132/linux/drivers/acorn/scsi/fas216.c linux/drivers/acorn/scsi/fas216.c
@@ -2049,7 +2049,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