diff options
| author | James Bottomley <jejb@mulgrave.(none)> | 2002-04-26 00:43:28 -0500 |
|---|---|---|
| committer | James Bottomley <jejb@mulgrave.(none)> | 2002-04-26 00:43:28 -0500 |
| commit | 161fa110976db562cf0b0417160b24db2743104a (patch) | |
| tree | ec98d005ac39ae165016fe4a03adb9dfa22c6bd1 /kernel/sched.c | |
| parent | 45fbecb1147007167ea78399f165ceae775d86e7 (diff) | |
Fix migration task boot hang for machines with different physical
and logical CPU numberings.
Diffstat (limited to 'kernel/sched.c')
| -rw-r--r-- | kernel/sched.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index a891593a0089..c9f02e54e23e 100644 --- a/kernel/sched.c +++ b/kernel/sched.c @@ -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 |
