android_kernel_xiaomi_sm8350/arch/mips/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
..
.gitignore [MIPS] Ignore vmlinux.lds generated files 2008-08-26 09:10:27 +01:00
8250-platform.c
asm-offsets.c
binfmt_elfn32.c
binfmt_elfo32.c
branch.c
cevt-bcm1480.c
cevt-ds1287.c
cevt-gt641xx.c
cevt-r4k.c [MIPS] SMTC: Fix SMTC dyntick support. 2008-10-03 17:58:58 +01:00
cevt-sb1250.c
cevt-smtc.c [MIPS] SMTC: Fix SMTC dyntick support. 2008-10-03 17:58:58 +01:00
cevt-txx9.c
cpu-bugs64.c
cpu-probe.c MIPS: Sort out CPU type to name translation. 2008-10-30 14:44:34 +00:00
csrc-bcm1480.c
csrc-ioasic.c
csrc-r4k.c MIPS: csrc-r4k: Fix spelling mistake. 2008-11-20 19:42:33 +00:00
csrc-sb1250.c
early_printk.c
entry.S [MIPS] SMTC: Close tiny holes in the SMTC IPI replay system. 2008-10-03 17:58:58 +01:00
genex.S MIPS: Watch exception handling for HARDWARE_WATCHPOINTS. 2008-10-11 16:18:56 +01:00
gpio_txx9.c
head.S [MIPS] IP27: Fix build errors if CONFIG_MAPPED_KERNEL=y 2008-10-06 01:22:29 +01:00
i8253.c
i8259.c
init_task.c
irq_cpu.c
irq_txx9.c
irq-gic.c
irq-gt641xx.c
irq-msc01.c
irq-rm7000.c
irq-rm9000.c
irq.c [MIPS] kgdb: add arch support for the kernel's kgdb core 2008-07-30 21:54:42 +01:00
kgdb.c kgdb, x86, arm, mips, powerpc: ignore user space single stepping 2008-09-26 10:36:41 -05:00
kspd.c
linux32.c compat: generic compat get/settimeofday 2008-10-16 11:21:33 -07:00
machine_kexec.c
Makefile MIPS: Add CONFIG_CPU_R5500 for NEC VR5500 series processors 2008-10-27 16:18:29 +00:00
mips_ksyms.c
mips-mt-fpaff.c [MIPS] SMTC: Fix holes in SMTC and FPU affinity support. 2008-10-03 17:58:58 +01:00
mips-mt.c
module.c
proc.c MIPS: show_cpuinfo prints the type of the calling CPU 2008-10-15 12:46:50 +01:00
process.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 2008-10-13 17:13:56 +01:00
ptrace32.c MIPS: Move ptrace prototypes to ptrace.h 2008-10-11 16:18:57 +01:00
ptrace.c MIPS: Ptrace support for HARDWARE_WATCHPOINTS 2008-10-11 16:18:57 +01:00
r4k_fpu.S
r4k_switch.S
r2300_fpu.S
r2300_switch.S
r6000_fpu.S
relocate_kernel.S
reset.c
rtlx.c device create: misc: convert device_create_drvdata to device_create 2008-10-16 09:24:43 -07:00
scall32-o32.S MIPS: o32: Fix number of arguments to splice(2). 2008-12-04 17:47:28 +00:00
scall64-64.S MIPS: Set positive error number to errno on illegal_syscall 2008-10-27 16:18:26 +00:00
scall64-n32.S MIPS: 64-bit: vmsplice needs to use the compat wrapper for o32 and N32. 2008-12-04 17:47:28 +00:00
scall64-o32.S MIPS: Return ENOSYS from sys32_syscall on 64bit kernels like elsewhere. 2008-12-04 17:47:28 +00:00
setup.c MIPS: Fix debugfs_create_*'s error checking method for mips/kernel/ 2008-10-27 16:18:25 +00:00
signal32.c MIPS: Use compat_sys_ptrace 2008-10-11 16:18:41 +01:00
signal_n32.c
signal-common.h
signal.c
smp-cmp.c cpumask: centralize cpu_online_map and cpu_possible_map 2008-12-13 21:19:41 +10:30
smp-mt.c cpumask: centralize cpu_online_map and cpu_possible_map 2008-12-13 21:19:41 +10:30
smp-up.c
smp.c cpumask: centralize cpu_online_map and cpu_possible_map 2008-12-13 21:19:41 +10:30
smtc-asm.S
smtc-proc.c
smtc.c cpumask: centralize cpu_online_map and cpu_possible_map 2008-12-13 21:19:41 +10:30
spram.c
stacktrace.c
sync-r4k.c
syscall.c Remove asm/a.out.h files for all architectures without a.out support. 2008-09-06 19:30:24 +01:00
time.c
topology.c
traps.c MIPS: Switch FPU emulator trap to BREAK instruction. 2008-10-30 14:44:34 +00:00
unaligned.c MIPS: Switch FPU emulator trap to BREAK instruction. 2008-10-30 14:44:34 +00:00
vmlinux.lds.S MIPS: Align .data.cacheline_aligned based on CONFIG_MIPS_L1_CACHE_SHIFT 2008-10-15 12:46:50 +01:00
vpe.c MIPS: Fix incorrect use of loose in vpe.c 2008-12-05 18:19:23 +00:00
watch.c MIPS: Add HARDWARE_WATCHPOINTS definitions and support code. 2008-10-11 16:18:56 +01:00