Commit d6b8181a authored by Nishanth Aravamudan's avatar Nishanth Aravamudan Committed by Tony Luck

[IA64] smpboot.c: use msleep(100) instead of inlined equivalent

Use msleep() instead of schedule_timeout() to guarantee the task
delays as expected.
Signed-off-by: default avatarNishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent 08441785
...@@ -612,8 +612,7 @@ void __cpu_die(unsigned int cpu) ...@@ -612,8 +612,7 @@ void __cpu_die(unsigned int cpu)
*/ */
return; return;
} }
current->state = TASK_UNINTERRUPTIBLE; msleep(100);
schedule_timeout(HZ/10);
} }
printk(KERN_ERR "CPU %u didn't die...\n", cpu); printk(KERN_ERR "CPU %u didn't die...\n", cpu);
} }
......
Markdown is supported
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