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

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