patch-2.2.10 linux/include/linux/netdevice.h
Next file: linux/include/linux/pci.h
Previous file: linux/include/linux/ncp_fs_sb.h
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sun May 16 18:28:41 1999
- Orig file:
v2.2.9/linux/include/linux/netdevice.h
- Orig date:
Tue Mar 23 14:35:48 1999
diff -u --recursive --new-file v2.2.9/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)