patch-2.4.19 linux-2.4.19/drivers/net/wan/lmc/lmc_debug.c

Next file: linux-2.4.19/drivers/net/wan/lmc/lmc_var.h
Previous file: linux-2.4.19/drivers/net/wan/falc-lh.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/drivers/net/wan/lmc/lmc_debug.c linux-2.4.19/drivers/net/wan/lmc/lmc_debug.c
@@ -72,12 +72,12 @@
 
     if(in_interrupt()){
         printk("%s: * %s\n", dev->name, msg);
-//        while(jiffies < j+10)
+//        while(time_before(jiffies, j+10))
 //            ;
     }
     else {
         printk("%s: %s\n", dev->name, msg);
-        while(jiffies < j)
+        while(time_before(jiffies, j))
             schedule();
     }
 #endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)