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: NPaul Mundt <lethal@linux-sh.org>
Showing
arch/sh/kernel/topology.c
0 → 100644
想要评论请 注册 或 登录