]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
[NET]: fix-up schedule_timeout() usage
authorNishanth Aravamudan <nacc@us.ibm.com>
Mon, 12 Sep 2005 21:15:34 +0000 (14:15 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Sep 2005 21:15:34 +0000 (14:15 -0700)
commit121caf577dc61588c1128821873a08cec48baf58
tree751e2e6bf9b58aa4b40e8285d357b0cf083ae8cc
parent7672d0b54411371e0b6a831c1cb2f0ce615de6dc
[NET]: fix-up schedule_timeout() usage

Use schedule_timeout_{,un}interruptible() instead of
set_current_state()/schedule_timeout() to reduce kernel size.  Also use
human-time conversion functions instead of hard-coded division to avoid
rounding issues.

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/pktgen.c
net/ipv4/ipconfig.c
net/irda/ircomm/ircomm_tty.c
net/sunrpc/svcsock.c