summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2006-06-25 05:46:42 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-25 10:00:54 -0700
commit1e48275adc8c94c3281e646c8beb829f8e6f5bfc (patch)
tree19714abfe022baaa130f30151c01fde6c55d7937 /arch
parentdfd8317d3340f03bc06eba6b58f0ec0861da4a13 (diff)
downloadop-kernel-dev-1e48275adc8c94c3281e646c8beb829f8e6f5bfc.zip
op-kernel-dev-1e48275adc8c94c3281e646c8beb829f8e6f5bfc.tar.gz
[PATCH] more for_each_cpu() removal
It's going away. I wonder if this code really meant to iterate across not-present, not-online CPUs. Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/platforms/cell/cbe_regs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/cell/cbe_regs.c b/arch/powerpc/platforms/cell/cbe_regs.c
index 2dfde61..ce696c1 100644
--- a/arch/powerpc/platforms/cell/cbe_regs.c
+++ b/arch/powerpc/platforms/cell/cbe_regs.c
@@ -89,7 +89,7 @@ void __init cbe_regs_init(void)
struct device_node *cpu;
/* Build local fast map of CPUs */
- for_each_cpu(i)
+ for_each_possible_cpu(i)
cbe_thread_map[i].cpu_node = of_get_cpu_node(i, NULL);
/* Find maps for each device tree CPU */
@@ -110,7 +110,7 @@ void __init cbe_regs_init(void)
return;
}
map->cpu_node = cpu;
- for_each_cpu(i)
+ for_each_possible_cpu(i)
if (cbe_thread_map[i].cpu_node == cpu)
cbe_thread_map[i].regs = map;
OpenPOWER on IntegriCloud