patch-2.3.3 linux/include/linux/netdevice.h
Next file: linux/include/linux/parport.h
Previous file: linux/include/linux/lp_m68k.h
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sun May 16 18:28:33 1999
- Orig file:
v2.3.2/linux/include/linux/netdevice.h
- Orig date:
Tue May 11 13:05:03 1999
diff -u --recursive --new-file v2.3.2/linux/include/linux/netdevice.h linux/include/linux/netdevice.h
@@ -405,7 +405,7 @@
extern __inline__ void dev_lock_wait(void)
{
while (atomic_read(&dev_lockct)) {
- current->counter = 0;
+ current->policy |= SCHED_YIELD;
schedule();
}
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)