Skip to content

Commit

Permalink
powerpc/powermac: Use set_hard_smp_processor_id() instead of smp_hw_i…
Browse files Browse the repository at this point in the history
…ndex

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>
  • Loading branch information
Nathan Lynch authored and Paul Mackerras committed Dec 16, 2008
1 parent 13a9801 commit 6ff04c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/platforms/powermac/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 6ff04c5

Please sign in to comment.