From: Nishanth Aravamudan Replace schedule_timeout() with msleep() to guarantee the task delays as expected. Signed-off-by: Nishanth Aravamudan Signed-off-by: Domen Puncer Signed-off-by: Andrew Morton --- arch/i386/kernel/smpboot.c | 3 +-- 1 files changed, 1 insertion(+), 2 deletions(-) diff -puN arch/i386/kernel/smpboot.c~i386-smpboot-use-msleep-instead-of-schedule_timeout arch/i386/kernel/smpboot.c --- devel/arch/i386/kernel/smpboot.c~i386-smpboot-use-msleep-instead-of-schedule_timeout 2005-08-06 15:35:20.000000000 -0700 +++ devel-akpm/arch/i386/kernel/smpboot.c 2005-08-06 15:35:20.000000000 -0700 @@ -1328,8 +1328,7 @@ void __cpu_die(unsigned int cpu) printk ("CPU %d is now offline\n", cpu); return; } - current->state = TASK_UNINTERRUPTIBLE; - schedule_timeout(HZ/10); + msleep(100); } printk(KERN_ERR "CPU %u didn't die...\n", cpu); } _