patch-2.2.0-pre1 linux/drivers/ap1000/ddv_util.c

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

diff -u --recursive --new-file v2.1.132/linux/drivers/ap1000/ddv_util.c linux/drivers/ap1000/ddv_util.c
@@ -92,7 +92,7 @@
 		return(-1);
 	}
 	for (timeout=jiffies + 10; 
-	     (jiffies < timeout) || (OPT_IO(PBUF0) == 0);
+	     time_before(jiffies, timeout) || (OPT_IO(PBUF0) == 0);
 	     ) /* wait */ ;
 	if (OPT_IO(PBUF0) == 0) {
 		printk("WARNING: option kernel didn't startup\n");

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