98a79d6a50
Impact: cleanup Each SMP arch defines these themselves. Move them to a central location. Twists: 1) Some archs (m32, parisc, s390) set possible_map to all 1, so we add a CONFIG_INIT_ALL_POSSIBLE for this rather than break them. 2) mips and sparc32 '#define cpu_possible_map phys_cpu_present_map'. Those archs simply have phys_cpu_present_map replaced everywhere. 3) Alpha defined cpu_possible_map to cpu_present_map; this is tricky so I just manipulate them both in sync. 4) IA64, cris and m32r have gratuitous 'extern cpumask_t cpu_possible_map' declarations. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Reviewed-by: Grant Grundler <grundler@parisc-linux.org> Tested-by: Tony Luck <tony.luck@intel.com> Acked-by: Ingo Molnar <mingo@elte.hu> Cc: Mike Travis <travis@sgi.com> Cc: ink@jurassic.park.msu.ru Cc: rmk@arm.linux.org.uk Cc: starvik@axis.com Cc: tony.luck@intel.com Cc: takata@linux-m32r.org Cc: ralf@linux-mips.org Cc: grundler@parisc-linux.org Cc: paulus@samba.org Cc: schwidefsky@de.ibm.com Cc: lethal@linux-sh.org Cc: wli@holomorphy.com Cc: davem@davemloft.net Cc: jdike@addtoit.com Cc: mingo@redhat.com |
||
---|---|---|
.. | ||
cpu | ||
timers | ||
vsyscall | ||
.gitignore | ||
asm-offsets.c | ||
cf-enabler.c | ||
cpufreq.c | ||
crash_dump.c | ||
debugtraps.S | ||
early_printk.c | ||
entry-common.S | ||
gpio.c | ||
head_32.S | ||
head_64.S | ||
init_task.c | ||
io.c | ||
io_generic.c | ||
io_trapped.c | ||
irq.c | ||
kgdb_jmp.S | ||
kgdb_stub.c | ||
kprobes.c | ||
machine_kexec.c | ||
machvec.c | ||
Makefile | ||
Makefile_32 | ||
Makefile_64 | ||
module.c | ||
pm.c | ||
process_32.c | ||
process_64.c | ||
ptrace_32.c | ||
ptrace_64.c | ||
relocate_kernel.S | ||
setup.c | ||
sh_bios.c | ||
sh_ksyms_32.c | ||
sh_ksyms_64.c | ||
signal_32.c | ||
signal_64.c | ||
smp.c | ||
stacktrace.c | ||
sys_sh.c | ||
sys_sh32.c | ||
sys_sh64.c | ||
syscalls_32.S | ||
syscalls_64.S | ||
time_32.c | ||
time_64.c | ||
topology.c | ||
traps.c | ||
traps_32.c | ||
traps_64.c | ||
vmlinux.lds.S | ||
vmlinux_32.lds.S | ||
vmlinux_64.lds.S |