summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/powermac
diff options
context:
space:
mode:
authorNathan Lynch2008-12-10 15:28:42 +0100
committerPaul Mackerras2008-12-16 05:53:09 +0100
commit6ff04c53db97c896ecca9374c0be4f681cf5fe50 (patch)
tree90baa02b26fd1802bc9de98c8add879ee48803de /arch/powerpc/platforms/powermac
parentpowerpc: Move smp_hw_index to 32-bit code (diff)
downloadkernel-qcow2-linux-6ff04c53db97c896ecca9374c0be4f681cf5fe50.tar.gz
kernel-qcow2-linux-6ff04c53db97c896ecca9374c0be4f681cf5fe50.tar.xz
kernel-qcow2-linux-6ff04c53db97c896ecca9374c0be4f681cf5fe50.zip
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 <ntl@pobox.com> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/powermac')
-rw-r--r--arch/powerpc/platforms/powermac/smp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/powermac/smp.c b/arch/powerpc/platforms/powermac/smp.c
index 40f72c2a4699..6b0711c15eca 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