From: David S. Miller Date: Thu, 28 Jul 2005 19:12:58 +0000 (-0700) Subject: [NET]: Fix busy waiting in dev_close(). X-Git-Tag: v2.6.13-rc5~109^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6192b54b845ed05cb838f86ca588cc625c703a09;p=pandora-kernel.git [NET]: Fix busy waiting in dev_close(). If the current task has signal_pending(), the loop we have to wait for the __LINK_STATE_RX_SCHED bit to clear becomes a pure busy-loop. Fixed by using msleep() instead of the hand-crafted version. Noticed by Andrew Morton. Signed-off-by: David S. Miller --- Reading git-diff-tree failed