diff options
author | KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> | 2006-03-29 00:50:52 +0200 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-03-29 04:44:16 +0200 |
commit | b848e0a07dd5a874821bb587bb724fac4aa45bad (patch) | |
tree | 43c81d75963421146adb340c6ebb617c426718a1 /arch/ppc/boot/simple/prepmap.c | |
parent | [PATCH] for_each_possible_cpu: powerpc (diff) | |
download | linux-b848e0a07dd5a874821bb587bb724fac4aa45bad.tar.xz linux-b848e0a07dd5a874821bb587bb724fac4aa45bad.zip |
[PATCH] for_each_possible_cpu: ppc
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>
Diffstat (limited to 'arch/ppc/boot/simple/prepmap.c')
0 files changed, 0 insertions, 0 deletions