97db7fbfc7
for_each_cpu() actually iterates across all possible CPUs. We've had mistakes in the past where people were using for_each_cpu() where they should have been iterating across only online or present CPUs. This is inefficient and possibly buggy. We're renaming for_each_cpu() to for_each_possible_cpu() to avoid this in the future. This patch replaces for_each_cpu with for_each_possible_cpu. Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Cc: Martin Schwidefsky <schwidefsky@de.ibm.com> Cc: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> |
||
---|---|---|
.. | ||
asm-offsets.c | ||
binfmt_elf32.c | ||
bitmap.S | ||
compat_exec_domain.c | ||
compat_linux.c | ||
compat_linux.h | ||
compat_ptrace.h | ||
compat_signal.c | ||
compat_wrapper.S | ||
cpcmd.c | ||
crash.c | ||
debug.c | ||
ebcdic.c | ||
entry64.S | ||
entry.S | ||
head31.S | ||
head64.S | ||
head.S | ||
init_task.c | ||
irq.c | ||
machine_kexec.c | ||
Makefile | ||
module.c | ||
process.c | ||
profile.c | ||
ptrace.c | ||
reipl64.S | ||
reipl_diag.c | ||
reipl.S | ||
relocate_kernel64.S | ||
relocate_kernel.S | ||
s390_ext.c | ||
s390_ksyms.c | ||
semaphore.c | ||
setup.c | ||
signal.c | ||
smp.c | ||
sys_s390.c | ||
syscalls.S | ||
time.c | ||
traps.c | ||
vmlinux.lds.S | ||
vtime.c |