From: Nathan Lynch Date: Wed, 10 Dec 2008 14:28:42 +0000 (+0000) Subject: powerpc/powermac: Use set_hard_smp_processor_id() instead of smp_hw_index X-Git-Tag: v2.6.29-rc1~574^2~62 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=6ff04c53db97c896ecca9374c0be4f681cf5fe50;p=linux-2.6-omap-h63xx.git 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: Nathan Lynch Acked-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras --- diff --git a/arch/powerpc/platforms/powermac/smp.c b/arch/powerpc/platforms/powermac/smp.c index 40f72c2a469..6b0711c15ec 100644 --- a/arch/powerpc/platforms/powermac/smp.c +++ b/arch/powerpc/platforms/powermac/smp.c @@ -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