diff options
author | Andrew Morton <akpm@osdl.org> | 2006-06-25 08:46:43 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-25 13:00:54 -0400 |
commit | fb1bb34d45400f12e0a33f8c487b3795674908a7 (patch) | |
tree | 11c593c83eff5a83999f4feee0d8937d1f575712 /arch/ia64 | |
parent | 1e48275adc8c94c3281e646c8beb829f8e6f5bfc (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/ia64')
-rw-r--r-- | arch/ia64/kernel/topology.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/kernel/topology.c b/arch/ia64/kernel/topology.c index 4f3a16b37f8f..879edb51d1e0 100644 --- a/arch/ia64/kernel/topology.c +++ b/arch/ia64/kernel/topology.c | |||
@@ -166,7 +166,7 @@ static void cache_shared_cpu_map_setup( unsigned int cpu, | |||
166 | 166 | ||
167 | num_shared = (int) csi.num_shared; | 167 | num_shared = (int) csi.num_shared; |
168 | do { | 168 | do { |
169 | for_each_cpu(j) | 169 | for_each_possible_cpu(j) |
170 | if (cpu_data(cpu)->socket_id == cpu_data(j)->socket_id | 170 | if (cpu_data(cpu)->socket_id == cpu_data(j)->socket_id |
171 | && cpu_data(j)->core_id == csi.log1_cid | 171 | && cpu_data(j)->core_id == csi.log1_cid |
172 | && cpu_data(j)->thread_id == csi.log1_tid) | 172 | && cpu_data(j)->thread_id == csi.log1_tid) |