From: janitor@sternwelten.at Replace set_current_state(TASK_INTERRUPTIBLE); schedule_timeout(some_time); with msleep(jiffies_to_msecs(some_time)); Signed-off-by: Nishanth Aravamudan Signed-off-by: Maximilian Attems Signed-off-by: Andrew Morton --- 25-akpm/drivers/char/watchdog/pcwd.c | 3 +-- 1 files changed, 1 insertion(+), 2 deletions(-) diff -puN drivers/char/watchdog/pcwd.c~pcwd-replace-schedule_timeout-with-msleep drivers/char/watchdog/pcwd.c --- 25/drivers/char/watchdog/pcwd.c~pcwd-replace-schedule_timeout-with-msleep Wed Sep 1 15:38:43 2004 +++ 25-akpm/drivers/char/watchdog/pcwd.c Wed Sep 1 15:38:43 2004 @@ -859,8 +859,7 @@ static int __init pcwd_checkcard(int bas /* Not an 'ff' from a floating bus, so must be a card! */ for (i = 0; i < 4; ++i) { - set_current_state(TASK_INTERRUPTIBLE); - schedule_timeout(HZ / 2); + msleep(500); last_port0 = port0; last_port1 = port1; _