kernel-ark/arch/sparc/kernel
Rusty Russell 98a79d6a50 cpumask: centralize cpu_online_map and cpu_possible_map
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
2008-12-13 21:19:41 +10:30
..
apc.c sparc: correct section of apc_no_idle 2008-10-22 21:53:43 -07:00
asm-offsets.c sparc: Remove Sparc's asm-offsets for sclow.S 2008-07-19 00:44:32 -07:00
auxio.c sparc: Convert remaining sbus_ioremap() and sbus_iounmap() users. 2008-08-29 02:15:13 -07:00
cpu.c sparc32 cpuinit flase positives 2008-11-30 10:03:35 -08:00
devices.c sparc: remove CONFIG_SUN4 2008-08-31 20:59:37 -07:00
dma.c sparc32: Implement more generic dma_*() interfaces. 2008-08-29 02:13:14 -07:00
dma.h sparc32: Implement more generic dma_*() interfaces. 2008-08-29 02:13:14 -07:00
entry.S sparc32: Use PROM device probing for sun4m irq registers. 2008-09-19 21:17:43 -07:00
etrap.S sparc/kernel/: possible cleanups 2008-07-17 21:37:46 -07:00
head.S fix the section noise in sparc head.S 2008-11-30 10:03:37 -08:00
idprom.c sparc: remove CONFIG_SUN4 2008-08-31 20:59:37 -07:00
init_task.c
ioport.c sparc: Kill now spurious includes of sbus.h 2008-08-29 02:15:23 -07:00
irq.c sparc/kernel/: possible cleanups 2008-07-17 21:37:46 -07:00
irq.h sparc32: Kill clear_profile_irq btfixup entry. 2008-09-19 21:17:59 -07:00
kgdb.c
led.c sparc: switch /proc/led to seq_file 2008-06-03 15:21:21 -07:00
Makefile sparc: remove CONFIG_SUN4 2008-08-31 20:59:37 -07:00
module.c
muldiv.c sparc: remove CVS keywords 2008-05-20 00:33:44 -07:00
of_device.c sparc: struct device - replace bus_id with dev_name(), dev_set_name() 2008-11-12 23:48:40 -08:00
pcic.c sparc32: Kill clear_profile_irq btfixup entry. 2008-09-19 21:17:59 -07:00
pmc.c sparc: arch/sparc/kernel/pmc.c -- extra #include? 2008-09-21 00:28:26 -07:00
process.c sparc: remove CONFIG_SUN4 2008-08-31 20:59:37 -07:00
prom.c sparc: remove CONFIG_SUN4 2008-08-31 20:59:37 -07:00
ptrace.c sparc: Fix user_regset 'n' field values. 2008-09-12 15:55:44 -07:00
rtrap.S sparc: Create and use TIF_NOTIFY_RESUME. 2008-07-27 17:33:37 -07:00
setup.c sparc32: Call parse_early_param() in setup_arch(). 2008-09-10 23:40:32 -07:00
signal.c sparc: Add call to tracehook_signal_handler(). 2008-07-27 17:33:44 -07:00
smp.c cpumask: centralize cpu_online_map and cpu_possible_map 2008-12-13 21:19:41 +10:30
sparc_ksyms.c cpumask: centralize cpu_online_map and cpu_possible_map 2008-12-13 21:19:41 +10:30
sun4c_irq.c sparc32: Delete master_l10_limit. 2008-09-19 21:18:03 -07:00
sun4d_irq.c sparc32: Delete master_l10_limit. 2008-09-19 21:18:03 -07:00
sun4d_smp.c sparc32 cpuinit flase positives 2008-11-30 10:03:35 -08:00
sun4m_irq.c sparc32: sun4m interrupt mask cleanup 2008-10-07 15:24:02 -07:00
sun4m_smp.c sparc32 cpuinit flase positives 2008-11-30 10:03:35 -08:00
sys_sparc.c sparc: remove CONFIG_SUN4 2008-08-31 20:59:37 -07:00
systbls.S sparc64: wire up accept4() 2008-11-19 18:49:57 -08:00
tadpole.c
tick14.c sparc32: Delete claim_ticker14(). 2008-09-19 21:18:01 -07:00
time.c rtc-m48t59: shift zero year to 1968 on sparc (rev 2) 2008-10-29 15:35:24 -07:00
trampoline.S sparc32 cpuinit flase positives 2008-11-30 10:03:35 -08:00
traps.c sparc32: sun4m interrupt mask cleanup 2008-10-07 15:24:02 -07:00
una_asm.S
unaligned.c sparc: remove CVS keywords 2008-05-20 00:33:44 -07:00
vmlinux.lds.S fix the section noise in sparc head.S 2008-11-30 10:03:37 -08:00
windows.c
wof.S sparc/kernel/: possible cleanups 2008-07-17 21:37:46 -07:00
wuf.S sparc/kernel/: possible cleanups 2008-07-17 21:37:46 -07:00