linux/arch/mips
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
..
alchemy MIPS: Alchemy: Wire up SD controller on DB/PB1200 boards. 2008-10-27 16:18:27 +00:00
basler/excite [MIPS] kgdb: Remove existing implementation 2008-07-30 21:54:42 +01:00
bcm47xx MIPS: WGT634U: Add reset button support 2008-10-15 12:46:51 +01:00
boot [MIPS] checkfiles: Fix "need space after that ','" errors. 2007-10-11 23:46:15 +01:00
cobalt [MIPS] Cobalt: Fix I/O port resource range 2008-07-20 14:38:20 +01:00
configs MIPS: IP22, Fulong, Malta: Update defconfigs. 2008-12-04 17:47:28 +00:00
dec mips: use bcd2bin/bin2bcd 2008-10-20 08:52:41 -07:00
emma MIPS: Markeins: Remove unnecessary define and cleanup comments, etc. 2008-10-27 16:18:31 +00:00
fw [MIPS] Remove mips_machtype from ARC based machines 2008-07-15 18:44:38 +01:00
gt64120/wrppmc [MIPS] remove wrppmc_machine_power_off() 2008-07-15 18:44:36 +01:00
include/asm cpumask: centralize cpu_online_map and cpu_possible_map 2008-12-13 21:19:41 +10:30
jazz [MIPS] Jazz: Fix build error by header file inclusion weeding. 2008-08-26 09:10:20 +01:00
kernel cpumask: centralize cpu_online_map and cpu_possible_map 2008-12-13 21:19:41 +10:30
lasat sysctl: simplify ->strategy 2008-10-16 11:21:47 -07:00
lemote/lm2e MIPS: lemote/lm2e: Added io_map_base to pci controller 2008-10-27 16:18:31 +00:00
lib MIPS: Add CONFIG_CPU_R5500 for NEC VR5500 series processors 2008-10-27 16:18:29 +00:00
math-emu MIPS: Switch FPU emulator trap to BREAK instruction. 2008-10-30 14:44:34 +00:00
mipssim [MIPS] Remove TLB sanitation code 2008-04-28 17:14:25 +01:00
mm MIPS: IP22: Make indy_sc_ops variable static 2008-11-20 19:42:33 +00:00
mti-malta MIPS: Malta: Consolidate platform device code. 2008-12-04 17:47:28 +00:00
nxp MIPS: Add support for NXP PNX833x (STB222/5) into linux kernel 2008-10-27 16:18:29 +00:00
oprofile oprofile: more whitespace fixes 2008-10-15 20:55:51 +02:00
pci MIPS: Better than nothing implementation of PCI mmap to fix X. 2008-12-09 21:55:43 +00:00
pmc-sierra cpumask: centralize cpu_online_map and cpu_possible_map 2008-12-13 21:19:41 +10:30
rb532 MIPS: RB532: Provide functions for gpio configuration 2008-11-20 19:42:33 +00:00
sgi-ip22 MIPS: IP22: ip22-int.c header file weeding. 2008-10-27 16:18:28 +00:00
sgi-ip27 cpumask: centralize cpu_online_map and cpu_possible_map 2008-12-13 21:19:41 +10:30
sgi-ip32 MIPS: IP32: Add platform device for CMOS RTC; remove dead code 2008-10-15 12:46:52 +01:00
sibyte cpumask: centralize cpu_online_map and cpu_possible_map 2008-12-13 21:19:41 +10:30
sni [MIPS] Remove obsolete isa_slot_offset 2008-07-15 18:44:29 +01:00
txx9 MIPS: RBTX4927: Add GPIO-LED support 2008-10-30 14:44:33 +00:00
vr41xx [MIPS] VR41xx: unsigned irq cannot be negative 2008-09-16 11:04:30 +02:00
Kconfig CHAR: Delete old and now unused DS1286 driver. 2008-10-30 14:44:35 +00:00
Kconfig.debug [MIPS] kgdb: Remove existing implementation 2008-07-30 21:54:42 +01:00
Makefile MIPS: EMMA: Move arch/mips/emma2rh/ into arch/mips/emma/ 2008-10-27 16:18:29 +00:00