]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[SPARC]: sbus/envctrl: replace schedule_timeout() with msleep_interruptible()
authorNishanth Aravamudan <nacc@us.ibm.com>
Mon, 25 Jul 2005 02:34:33 +0000 (19:34 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Jul 2005 02:34:33 +0000 (19:34 -0700)
commitcb39d263e751f9cca8055bcacfe5ec863dfe2705
tree6b2bead3545fced8f8b1e8de54d1b0b52e109d24
parent70c83375bb47cadd60fdb923ad913d4f4be75aba
[SPARC]: sbus/envctrl: replace schedule_timeout() with msleep_interruptible()

Use msleep_interruptible() instead of schedule_timeout() to guarantee
the task delays as expected. Change the units of poll_interval to
msecs as it is only used in this delay.

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Domen Puncer <domen@coderock.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/sbus/char/envctrl.c