Commit 6ff04c53 authored by Nathan Lynch's avatar Nathan Lynch Committed by Paul Mackerras

powerpc/powermac: Use set_hard_smp_processor_id() instead of smp_hw_index

The hard_smp_processor_id functions are the appropriate interfaces for
managing physical CPU ids.
Signed-off-by: default avatarNathan Lynch <ntl@pobox.com>
Acked-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent 13a9801e
......@@ -739,7 +739,7 @@ static void __init smp_core99_setup(int ncpus)
/* XXX should get this from reg properties */
for (i = 1; i < ncpus; ++i)
smp_hw_index[i] = i;
set_hard_smp_processor_id(i, i);
}
#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