patch-2.4.20 linux-2.4.20/net/sched/sch_generic.c
Next file: linux-2.4.20/net/sched/sch_htb.c
Previous file: linux-2.4.20/net/sched/sch_api.c
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Thu Nov 28 15:53:16 2002
- Orig file:
linux-2.4.19/net/sched/sch_generic.c
- Orig date:
Fri Aug 2 17:39:46 2002
diff -urN linux-2.4.19/net/sched/sch_generic.c linux-2.4.20/net/sched/sch_generic.c
@@ -475,10 +475,8 @@
dev_watchdog_down(dev);
- while (test_bit(__LINK_STATE_SCHED, &dev->state)) {
- current->policy |= SCHED_YIELD;
- schedule();
- }
+ while (test_bit(__LINK_STATE_SCHED, &dev->state))
+ yield();
spin_unlock_wait(&dev->xmit_lock);
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)