aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2006-06-25 08:46:43 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-25 13:00:54 -0400
commitfb1bb34d45400f12e0a33f8c487b3795674908a7 (patch)
tree11c593c83eff5a83999f4feee0d8937d1f575712 /arch/powerpc
parent1e48275adc8c94c3281e646c8beb829f8e6f5bfc (diff)
[PATCH] remove for_each_cpu()
Convert a few stragglers over to for_each_possible_cpu(), remove for_each_cpu(). Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/platforms/cell/interrupt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/cell/interrupt.c b/arch/powerpc/platforms/cell/interrupt.c
index f4e2d8805c9e..1bbf822b4efc 100644
--- a/arch/powerpc/platforms/cell/interrupt.c
+++ b/arch/powerpc/platforms/cell/interrupt.c
@@ -180,7 +180,7 @@ static int setup_iic_hardcoded(void)
180 unsigned long regs; 180 unsigned long regs;
181 struct iic *iic; 181 struct iic *iic;
182 182
183 for_each_cpu(cpu) { 183 for_each_possible_cpu(cpu) {
184 iic = &per_cpu(iic, cpu); 184 iic = &per_cpu(iic, cpu);
185 nodeid = cpu/2; 185 nodeid = cpu/2;
186 186