diff options
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/platforms/cell/cbe_regs.c | 4 |
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 2dfde61c8412..ce696c1cca75 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) | |||
89 | struct device_node *cpu; | 89 | struct device_node *cpu; |
90 | 90 | ||
91 | /* Build local fast map of CPUs */ | 91 | /* Build local fast map of CPUs */ |
92 | for_each_cpu(i) | 92 | for_each_possible_cpu(i) |
93 | cbe_thread_map[i].cpu_node = of_get_cpu_node(i, NULL); | 93 | cbe_thread_map[i].cpu_node = of_get_cpu_node(i, NULL); |
94 | 94 | ||
95 | /* Find maps for each device tree CPU */ | 95 | /* Find maps for each device tree CPU */ |
@@ -110,7 +110,7 @@ void __init cbe_regs_init(void) | |||
110 | return; | 110 | return; |
111 | } | 111 | } |
112 | map->cpu_node = cpu; | 112 | map->cpu_node = cpu; |
113 | for_each_cpu(i) | 113 | for_each_possible_cpu(i) |
114 | if (cbe_thread_map[i].cpu_node == cpu) | 114 | if (cbe_thread_map[i].cpu_node == cpu) |
115 | cbe_thread_map[i].regs = map; | 115 | cbe_thread_map[i].regs = map; |
116 | 116 | ||