patch-2.2.0-pre1 linux/arch/sparc/ap1000/util.c

Next file: linux/drivers/acorn/block/fd1772.c
Previous file: linux/arch/ppc/prep_defconfig
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.132/linux/arch/sparc/ap1000/util.c linux/arch/sparc/ap1000/util.c
@@ -393,7 +393,7 @@
     unsigned end = jiffies + 20*HZ;
     /* we are booting from another cell */
     printk("waiting for the master cell\n");
-    while (jiffies < end) ;
+    while (time_before(jiffies, end)) ;
     printk("continuing\n");
   }
 }

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