android_kernel_xiaomi_sm8350/arch/s390/kernel
Andrew Morton 394e3902c5 [PATCH] more for_each_cpu() conversions
When we stop allocating percpu memory for not-possible CPUs we must not touch
the percpu data for not-possible CPUs at all.  The correct way of doing this
is to test cpu_possible() or to use for_each_cpu().

This patch is a kernel-wide sweep of all instances of NR_CPUS.  I found very
few instances of this bug, if any.  But the patch converts lots of open-coded
test to use the preferred helper macros.

Cc: Mikael Starvik <starvik@axis.com>
Cc: David Howells <dhowells@redhat.com>
Acked-by: Kyle McMartin <kyle@parisc-linux.org>
Cc: Anton Blanchard <anton@samba.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: William Lee Irwin III <wli@holomorphy.com>
Cc: Andi Kleen <ak@muc.de>
Cc: Christian Zankel <chris@zankel.net>
Cc: Philippe Elie <phil.el@wanadoo.fr>
Cc: Nathan Scott <nathans@sgi.com>
Cc: Jens Axboe <axboe@suse.de>
Cc: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-03-23 07:38:17 -08:00
..
asm-offsets.c
binfmt_elf32.c [PATCH] s390: task_pt_regs() 2006-01-12 09:08:54 -08:00
bitmap.S
compat_exec_domain.c
compat_linux.c [PATCH] s390: sys32_fstatat -> sys32_fstatat64 2006-02-17 13:59:27 -08:00
compat_linux.h
compat_ptrace.h
compat_signal.c [PATCH] Fix s390 build failure. 2006-02-10 13:43:59 -08:00
compat_wrapper.S [PATCH] flags parameter for linkat 2006-02-24 14:31:39 -08:00
cpcmd.c [PATCH] s390: cleanup Kconfig 2006-01-06 08:33:53 -08:00
crash.c [PATCH] kdump: dynamic per cpu allocation of memory for saving cpu registers 2006-01-10 08:01:26 -08:00
debug.c
ebcdic.c
entry64.S [PATCH] s390: Add support for new syscalls/TIF_RESTORE_SIGMASK 2006-02-01 08:53:24 -08:00
entry.S [PATCH] s390: Add support for new syscalls/TIF_RESTORE_SIGMASK 2006-02-01 08:53:24 -08:00
head31.S
head64.S
head.S [PATCH] s390: cleanup Kconfig 2006-01-06 08:33:53 -08:00
init_task.c
irq.c
machine_kexec.c [PATCH] s390: fix non smp build of kexec 2006-02-11 21:41:12 -08:00
Makefile [PATCH] sanitize building of fs/compat_ioctl.c 2006-01-10 08:01:33 -08:00
module.c [PATCH] s390: cleanup Kconfig 2006-01-06 08:33:53 -08:00
process.c [PATCH] s390: fix preempt_count of idle thread with cpu hotplug 2006-02-17 13:59:26 -08:00
profile.c
ptrace.c [PATCH] s390: task_pt_regs() 2006-01-12 09:08:54 -08:00
reipl64.S
reipl_diag.c [PATCH] s390: cleanup Kconfig 2006-01-06 08:33:53 -08:00
reipl.S
relocate_kernel64.S
relocate_kernel.S
s390_ext.c
s390_ksyms.c [PATCH] don't include ioctl32.h in drivers 2006-01-10 08:01:34 -08:00
semaphore.c
setup.c [PATCH] s390: additional_cpus parameter 2006-02-17 13:59:26 -08:00
signal.c [PATCH] s390: Add support for new syscalls/TIF_RESTORE_SIGMASK 2006-02-01 08:53:24 -08:00
smp.c [PATCH] more for_each_cpu() conversions 2006-03-23 07:38:17 -08:00
sys_s390.c [PATCH] s390 misc __user annotations 2006-02-08 01:04:23 -05:00
syscalls.S [PATCH] s390: sys32_fstatat -> sys32_fstatat64 2006-02-17 13:59:27 -08:00
time.c [PATCH] s390: monotonic_clock interface 2006-02-01 08:53:24 -08:00
traps.c [PATCH] s390 misc __user annotations 2006-02-08 01:04:23 -05:00
vmlinux.lds.S [PATCH] s390: cleanup Kconfig 2006-01-06 08:33:53 -08:00
vtime.c [PATCH] s390: cputime misaccounting 2006-01-14 18:27:09 -08:00