sh: Split out CPU topology initialization.
authorPaul Mundt <lethal@linux-sh.org>
Mon, 14 May 2007 03:50:43 +0000 (12:50 +0900)
committerPaul Mundt <lethal@hera.kernel.org>
Fri, 8 Jun 2007 02:43:35 +0000 (02:43 +0000)
commit7a302a9674593259866de4a9d5ae8edc03dc1934
treed705d89037c226d9928ce132b332b08e2f00388a
parent85f6038f2170e3335dda09c3dfb0f83110e87019
sh: Split out CPU topology initialization.

Split out the CPU topology initialization to a separate file,
and switch it to a percpu type, rather than an NR_CPUS array.

At the same time, switch to only registering present CPUs,
rather than using the possible CPU map.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/Makefile
arch/sh/kernel/setup.c
arch/sh/kernel/topology.c [new file with mode: 0644]