mirror of https://github.com/torvalds/linux.git
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> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Paul Mackerras <paulus@samba.org> |
||
|---|---|---|
| .. | ||
| Makefile | ||
| asm-offsets.c | ||
| cpu_setup_power4.S | ||
| dma-mapping.c | ||
| entry.S | ||
| head.S | ||
| head_4xx.S | ||
| head_8xx.S | ||
| head_44x.S | ||
| head_booke.h | ||
| head_fsl_booke.S | ||
| machine_kexec.c | ||
| misc.S | ||
| pci.c | ||
| ppc-stub.c | ||
| ppc_htab.c | ||
| ppc_ksyms.c | ||
| relocate_kernel.S | ||
| rio.c | ||
| semaphore.c | ||
| setup.c | ||
| smp-tbsync.c | ||
| smp.c | ||
| softemu8xx.c | ||
| time.c | ||
| traps.c | ||
| vmlinux.lds.S | ||