android_kernel_xiaomi_sm8350/arch/xtensa/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
..
align.S kbuild: m68k,parisc,ppc,ppc64,s390,xtensa use generic asm-offsets.h support 2005-09-09 20:57:26 +02:00
asm-offsets.c [PATCH] xtensa: remove old syscalls 2005-07-12 16:01:01 -07:00
coprocessor.S [PATCH] xtensa: Architecture support for Tensilica Xtensa Part 3 2005-06-24 00:05:21 -07:00
entry.S kbuild: m68k,parisc,ppc,ppc64,s390,xtensa use generic asm-offsets.h support 2005-09-09 20:57:26 +02:00
head.S [PATCH] xtensa: Architecture support for Tensilica Xtensa Part 3 2005-06-24 00:05:21 -07:00
irq.c [PATCH] more for_each_cpu() conversions 2006-03-23 07:38:17 -08:00
Makefile [PATCH] xtensa: Architecture support for Tensilica Xtensa Part 3 2005-06-24 00:05:21 -07:00
module.c [PATCH] xtensa: Architecture support for Tensilica Xtensa Part 3 2005-06-24 00:05:21 -07:00
pci-dma.c [PATCH] gfp_t: dma-mapping (xtensa) 2005-10-28 08:16:49 -07:00
pci.c [PATCH] xtensa: remove io_remap_page_range and minor clean-ups 2005-09-22 22:17:37 -07:00
platform.c [PATCH] fix missing includes 2005-10-30 17:37:32 -08:00
process.c [PATCH] add missing pm_power_off's 2006-03-06 18:40:44 -08:00
ptrace.c [PATCH] xtensa: task_pt_regs(), task_stack_page() 2006-01-12 09:08:54 -08:00
semaphore.c [PATCH] xtensa: Architecture support for Tensilica Xtensa Part 3 2005-06-24 00:05:21 -07:00
setup.c [PATCH] xtensa: remove io_remap_page_range and minor clean-ups 2005-09-22 22:17:37 -07:00
signal.c [PATCH] xtensa: remove io_remap_page_range and minor clean-ups 2005-09-22 22:17:37 -07:00
syscalls.c [PATCH] xtensa: remove old syscalls 2005-07-12 16:01:01 -07:00
syscalls.h [PATCH] xtensa: remove old syscalls 2005-07-12 16:01:01 -07:00
time.c spelling: s/usefull/useful/ 2006-01-10 00:08:17 +01:00
traps.c [PATCH] xtensa: use ssleep() instead of schedule_timeout() 2005-07-12 16:01:01 -07:00
vectors.S kbuild: m68k,parisc,ppc,ppc64,s390,xtensa use generic asm-offsets.h support 2005-09-09 20:57:26 +02:00
vmlinux.lds.S [PATCH] xtensa: remove old syscalls 2005-07-12 16:01:01 -07:00
xtensa_ksyms.c [PATCH] xtensa: Architecture support for Tensilica Xtensa Part 3 2005-06-24 00:05:21 -07:00