]> git.hungrycats.org Git - linux/commit
[PATCH] pcwd: replace schedule_timeout() with msleep()
authorMaximilian Attems <janitor@sternwelten.at>
Fri, 3 Sep 2004 03:35:20 +0000 (20:35 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 3 Sep 2004 03:35:20 +0000 (20:35 -0700)
commit80ec557fe95a2b6abbe455db33901b134e30b923
tree604e5cc2f948f7321dfa8aa362b29bde3e1780e8
parent4e14c7c8500c1a7dd4dc1b0888df0f25587038ef
[PATCH] pcwd: replace schedule_timeout() with msleep()

Replace

set_current_state(TASK_INTERRUPTIBLE);
schedule_timeout(some_time);

with

msleep(jiffies_to_msecs(some_time));

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/watchdog/pcwd.c