linux/arch
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
..
alpha cpumask: centralize cpu_online_map and cpu_possible_map 2008-12-13 21:19:41 +10:30
arm cpumask: centralize cpu_online_map and cpu_possible_map 2008-12-13 21:19:41 +10:30
avr32 Merge branches 'boards' and 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/hskinnemoen/avr32-2.6 2008-10-23 15:24:10 +02:00
blackfin Blackfin arch: fix a broken define in dma-mapping 2008-11-18 17:48:22 +08:00
cris cpumask: centralize cpu_online_map and cpu_possible_map 2008-12-13 21:19:41 +10:30
frv frv: fix mmap2 error handling 2008-12-01 19:55:24 -08:00
h8300 Merge branch 'for-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/dvrabel/uwb 2008-10-23 08:20:34 -07:00
ia64 cpumask: centralize cpu_online_map and cpu_possible_map 2008-12-13 21:19:41 +10:30
m32r cpumask: centralize cpu_online_map and cpu_possible_map 2008-12-13 21:19:41 +10:30
m68k m68k: Update defconfigs for 2.6.28-rc7 2008-12-02 20:58:26 +01:00
m68knommu container freezer: implement freezer cgroup subsystem 2008-10-20 08:52:34 -07:00
mips cpumask: centralize cpu_online_map and cpu_possible_map 2008-12-13 21:19:41 +10:30
mn10300 MN10300: Give correct size when reserving interrupt vector table 2008-12-10 13:34:33 -08:00
parisc cpumask: centralize cpu_online_map and cpu_possible_map 2008-12-13 21:19:41 +10:30
powerpc cpumask: centralize cpu_online_map and cpu_possible_map 2008-12-13 21:19:41 +10:30
s390 cpumask: centralize cpu_online_map and cpu_possible_map 2008-12-13 21:19:41 +10:30
sh cpumask: centralize cpu_online_map and cpu_possible_map 2008-12-13 21:19:41 +10:30
sparc cpumask: centralize cpu_online_map and cpu_possible_map 2008-12-13 21:19:41 +10:30
sparc64 cpumask: centralize cpu_online_map and cpu_possible_map 2008-12-13 21:19:41 +10:30
um cpumask: centralize cpu_online_map and cpu_possible_map 2008-12-13 21:19:41 +10:30
x86 cpumask: centralize cpu_online_map and cpu_possible_map 2008-12-13 21:19:41 +10:30
xtensa Merge git://git.kernel.org/pub/scm/linux/kernel/git/czankel/xtensa-2.6 2008-10-23 09:16:56 -07:00
.gitignore
Kconfig remove __ARCH_WANT_COMPAT_SYS_PTRACE 2008-11-30 11:00:15 -08:00