android_kernel_xiaomi_sm7250/arch/powerpc/platforms/powermac
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
..
backlight.c
bootx_init.c [PATCH] powerpc: Add back support for booting from BootX (#2) 2006-01-09 14:49:58 +11:00
cache.S
cpufreq_32.c [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
cpufreq_64.c spelling: s/retreive/retrieve/ 2006-01-10 00:10:13 +01:00
feature.c Merge ../linux-2.6 2006-03-17 12:01:19 +11:00
low_i2c.c [PATCH] bogus extern in low_i2c.c 2006-02-07 20:58:39 -05:00
Makefile [PATCH] 3/5 powerpc: Add platform functions interpreter 2006-01-09 15:47:18 +11:00
nvram.c [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
pci.c [PATCH] powermac pci iomem annotations 2006-02-08 01:03:33 -05:00
pfunc_base.c powerpc: Turn off verbose debug output in powermac platform functions 2006-03-03 20:50:29 +11:00
pfunc_core.c powerpc: Turn off verbose debug output in powermac platform functions 2006-03-03 20:50:29 +11:00
pic.c [PATCH] powerpc: Experimental support for new G5 Macs (#2) 2006-01-09 15:03:17 +11:00
pic.h
pmac.h [PATCH] powerpc: Remove device_node addrs/n_addr 2006-01-09 14:53:55 +11:00
setup.c Merge ../linux-2.6 2006-03-17 12:01:19 +11:00
sleep.S
smp.c [PATCH] more for_each_cpu() conversions 2006-03-23 07:38:17 -08:00
time.c [PATCH] powerpc: Remove device_node addrs/n_addr 2006-01-09 14:53:55 +11:00
udbg_adb.c [PATCH] powerpc: udbg updates 2006-01-09 14:51:22 +11:00
udbg_scc.c [PATCH] powerpc: Make early debugging configurable via Kconfig 2006-01-11 14:48:26 +11:00