1
linux/arch/frv/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 kbuild: frv,m32r,sparc64 introduce fake asm-offsets.h file 2005-09-09 22:47:53 +02:00
break.S [PATCH] FRV: Use virtual interrupt disablement 2006-02-14 16:09:35 -08:00
cmode.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
debug-stub.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dma.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
entry-table.S [PATCH] FRV: Use virtual interrupt disablement 2006-02-14 16:09:35 -08:00
entry.S [PATCH] FRV: Use virtual interrupt disablement 2006-02-14 16:09:35 -08:00
frv_ksyms.c [PATCH] multiple exports of strpbrk 2006-03-22 07:53:56 -08:00
futex.c [PATCH] FRV: Implement futex operations for FRV 2006-01-06 08:33:33 -08:00
gdb-io.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gdb-io.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gdb-stub.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
head-mmu-fr451.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
head-uc-fr401.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
head-uc-fr451.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
head-uc-fr555.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
head.inc Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
head.S [PATCH] FRV: Use virtual interrupt disablement 2006-02-14 16:09:35 -08:00
init_task.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
irq-mb93091.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
irq-mb93093.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
irq-mb93493.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
irq-routing.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
irq.c [PATCH] more for_each_cpu() conversions 2006-03-23 07:38:17 -08:00
kernel_thread.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
local.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile [PATCH] frv: add module support stubs 2006-01-08 20:13:37 -08:00
module.c [PATCH] frv: add module support stubs 2006-01-08 20:13:37 -08:00
pm-mb93093.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pm.c [PATCH] frv: implement and export various things required by modules 2006-01-08 20:13:36 -08:00
process.c [PATCH] frv: task_thread_info(), task_stack_page() 2006-01-12 09:08:54 -08:00
ptrace.c [PATCH] consolidate sys_ptrace() 2005-11-07 07:53:42 -08:00
semaphore.c [PATCH] FRV: Make the FRV arch work again 2005-11-28 14:42:23 -08:00
setup.c [PATCH] frv: force serial driver inclusion 2006-01-08 20:13:38 -08:00
signal.c [PATCH] Handle TIF_RESTORE_SIGMASK for FRV 2006-01-18 19:20:29 -08:00
sleep.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
switch_to.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sys_frv.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sysctl.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
time.c [PATCH] frv: implement and export various things required by modules 2006-01-08 20:13:36 -08:00
traps.c [PATCH] frv: implement and export various things required by modules 2006-01-08 20:13:36 -08:00
uaccess.c [PATCH] frv: implement and export various things required by modules 2006-01-08 20:13:36 -08:00
vmlinux.lds.S [PATCH] frv: miscellaneous changes 2006-01-08 20:13:38 -08:00