1
0
Fork 0
alistair23-linux/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
..
Makefile [PATCH] sanitize building of fs/compat_ioctl.c 2006-01-10 08:01:33 -08:00
asm-offsets.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
binfmt_elf32.c [PATCH] s390: task_pt_regs() 2006-01-12 09:08:54 -08:00
bitmap.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
compat_exec_domain.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
compat_linux.c [PATCH] s390: sys32_fstatat -> sys32_fstatat64 2006-02-17 13:59:27 -08:00
compat_linux.h [PATCH] compat: introduce compat_time_t 2005-06-23 09:45:32 -07:00
compat_ptrace.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
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 [PATCH] s390: "extern inline" -> "static inline" 2005-11-09 07:55:52 -08:00
ebcdic.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
entry.S [PATCH] s390: Add support for new syscalls/TIF_RESTORE_SIGMASK 2006-02-01 08:53:24 -08:00
entry64.S [PATCH] s390: Add support for new syscalls/TIF_RESTORE_SIGMASK 2006-02-01 08:53:24 -08:00
head.S [PATCH] s390: cleanup Kconfig 2006-01-06 08:33:53 -08:00
head31.S [PATCH] s390: merge common parts of head.S and head64.S 2005-11-07 07:53:34 -08:00
head64.S [PATCH] s390: merge common parts of head.S and head64.S 2005-11-07 07:53:34 -08:00
init_task.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
irq.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
machine_kexec.c [PATCH] s390: fix non smp build of kexec 2006-02-11 21:41:12 -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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ptrace.c [PATCH] s390: task_pt_regs() 2006-01-12 09:08:54 -08:00
reipl.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
reipl64.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
reipl_diag.c [PATCH] s390: cleanup Kconfig 2006-01-06 08:33:53 -08:00
relocate_kernel.S [PATCH] s390: kexec fixes and improvements. 2005-08-01 21:37:59 -07:00
relocate_kernel64.S [PATCH] s390: kexec fixes and improvements. 2005-08-01 21:37:59 -07:00
s390_ext.c [PATCH] s390: external call performance 2005-07-27 16:26:04 -07:00
s390_ksyms.c [PATCH] don't include ioctl32.h in drivers 2006-01-10 08:01:34 -08:00
semaphore.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
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