linux-stable-rt/arch/mips/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
asm-offsets.c
binfmt_elfn32.c [MIPS] jiffies_to_compat_timeval fix 2006-02-21 16:58:23 +00:00
binfmt_elfo32.c [MIPS] jiffies_to_compat_timeval fix 2006-02-21 16:58:23 +00:00
branch.c
cpu-bugs64.c
cpu-probe.c [MIPS] War on whitespace: cleanup initial spaces followed by tabs. 2006-03-21 13:27:47 +00:00
dma-no-isa.c
entry.S
gdb-low.S [MIPS] War on whitespace: cleanup initial spaces followed by tabs. 2006-03-21 13:27:47 +00:00
gdb-stub.c
genex.S
head.S
i8259.c
init_task.c
irix5sys.S
irixelf.c
irixinv.c
irixioctl.c
irixsig.c
irq-msc01.c
irq-mv6434x.c [MIPS] Momentum: Resurrect after things were moved around a while ago. 2006-03-09 18:05:09 +00:00
irq-rm7000.c
irq-rm9000.c
irq.c [PATCH] more for_each_cpu() conversions 2006-03-23 07:38:17 -08:00
irq_cpu.c
linux32.c [MIPS] sys_mmap2 offset argument should always be shifted 12, not PAGE_SHIFT. 2006-03-21 13:27:48 +00:00
mips_ksyms.c
module.c
proc.c [MIPS] Separate CPU entries in /proc/cpuinfo with a blank line. 2006-03-21 13:27:48 +00:00
process.c [MIPS] Signal cleanup 2006-03-21 13:27:46 +00:00
ptrace.c
ptrace32.c
r4k_fpu.S
r4k_switch.S
r2300_fpu.S
r2300_switch.S
r6000_fpu.S
reset.c
rtlx.c
scall32-o32.S [PATCH] flags parameter for linkat 2006-02-24 14:31:39 -08:00
scall64-64.S
scall64-n32.S [MIPS] Use generic compat routines for readdir, getdents 2006-02-27 17:30:37 +00:00
scall64-o32.S [MIPS] Use generic compat routines for readdir, getdents 2006-02-27 17:30:37 +00:00
semaphore.c
setup.c [MIPS] Remove CONFIG_BUILD_ELF64. 2006-03-21 13:27:46 +00:00
signal-common.h [MIPS] War on whitespace: cleanup initial spaces followed by tabs. 2006-03-21 13:27:47 +00:00
signal.c [MIPS] Signal cleanup 2006-03-21 13:27:46 +00:00
signal32.c [MIPS] War on whitespace: cleanup initial spaces followed by tabs. 2006-03-21 13:27:47 +00:00
signal_n32.c [MIPS] fix wrong __user usage in _sysn32_rt_sigsuspend 2006-03-21 13:27:46 +00:00
smp.c [PATCH] more for_each_cpu() conversions 2006-03-23 07:38:17 -08:00
smp_mt.c [MIPS] SMP: Fix initialization order bug. 2006-02-27 17:30:36 +00:00
syscall.c [MIPS] sys_mmap2 offset argument should always be shifted 12, not PAGE_SHIFT. 2006-03-21 13:27:48 +00:00
sysirix.c
time.c [MIPS] Protect more of timer_interrupt() by xtime_lock. 2006-03-18 16:59:29 +00:00
traps.c [MIPS] War on whitespace: cleanup initial spaces followed by tabs. 2006-03-21 13:27:47 +00:00
unaligned.c
vmlinux.lds.S [MIPS] Discard .exit.text at runtime. 2006-03-09 18:05:09 +00:00
vpe.c