Commit c4e39ec3 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] ppc64: generic hotplug cpu support fix

Fix a false-positive from the smp_processor_id() debugging code.  Idle threads
are per-cpu anwyay.
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 4d1c8cd7
......@@ -294,7 +294,7 @@ static int native_idle(void)
if (need_resched())
schedule();
if (cpu_is_offline(smp_processor_id()) &&
if (cpu_is_offline(_smp_processor_id()) &&
system_state == SYSTEM_RUNNING)
cpu_die();
}
......
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