[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>
This commit is contained in:
committed by
Linus Torvalds
parent
1e48275adc
commit
fb1bb34d45
@@ -166,7 +166,7 @@ static void cache_shared_cpu_map_setup( unsigned int cpu,
|
||||
|
||||
num_shared = (int) csi.num_shared;
|
||||
do {
|
||||
for_each_cpu(j)
|
||||
for_each_possible_cpu(j)
|
||||
if (cpu_data(cpu)->socket_id == cpu_data(j)->socket_id
|
||||
&& cpu_data(j)->core_id == csi.log1_cid
|
||||
&& cpu_data(j)->thread_id == csi.log1_tid)
|
||||
|
Reference in New Issue
Block a user