patch-2.2.0-pre1 linux/net/sched/sch_api.c
Next file: linux/net/sunrpc/auth.c
Previous file: linux/net/netrom/nr_dev.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Wed Dec 23 09:44:42 1998
-  Orig file: 
v2.1.132/linux/net/sched/sch_api.c
-  Orig date: 
Sat Sep  5 16:46:42 1998
diff -u --recursive --new-file v2.1.132/linux/net/sched/sch_api.c linux/net/sched/sch_api.c
@@ -898,7 +898,7 @@
 	stop = jiffies + HZ/10;
 	PSCHED_GET_TIME(stamp);
 	do_gettimeofday(&tv);
-	while (jiffies < stop)
+	while (time_before(jiffies, stop))
 		barrier();
 	PSCHED_GET_TIME(stamp1);
 	do_gettimeofday(&tv1);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov