Commit aeb8397b authored by Nishanth Aravamudan's avatar Nishanth Aravamudan Committed by Linus Torvalds
Browse files

[PATCH] i386/smpboot: use msleep() instead of schedule_timeout()

Replace schedule_timeout() with msleep() to guarantee the task delays as
Signed-off-by: default avatarNishanth Aravamudan <>
Signed-off-by: default avatarDomen Puncer <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent f4c9925c
...@@ -1330,8 +1330,7 @@ void __cpu_die(unsigned int cpu) ...@@ -1330,8 +1330,7 @@ void __cpu_die(unsigned int cpu)
printk ("CPU %d is now offline\n", cpu); printk ("CPU %d is now offline\n", cpu);
return; return;
} }
current->state = TASK_UNINTERRUPTIBLE; msleep(100);
} }
printk(KERN_ERR "CPU %u didn't die...\n", cpu); printk(KERN_ERR "CPU %u didn't die...\n", cpu);
} }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment