Commit 161fa110 authored by James Bottomley's avatar James Bottomley

Fix migration task boot hang for machines with different physical

and logical CPU numberings.
parent 45fbecb1
......@@ -1760,7 +1760,7 @@ void __init migration_init(void)
current->cpus_allowed = -1L;
for (cpu = 0; cpu < smp_num_cpus; cpu++)
while (!cpu_rq(cpu)->migration_thread)
while (!cpu_rq(cpu_logical_map(cpu))->migration_thread)
schedule_timeout(2);
}
#endif
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