search for: nodes_flush

Displaying 1 result from an estimated 1 matches for "nodes_flush".

Did you mean: nodes_flushed
2009 Jul 15
0
[PATCH] rename for_each_cpu() to for_each_possible_cpu()
...linux-xen/sn/kernel/sn2_smp.c 2009-05-27 13:54:05.000000000 +0200 +++ 2009-07-10/xen/arch/ia64/linux-xen/sn/kernel/sn2_smp.c 2009-07-15 10:01:39.000000000 +0200 @@ -211,7 +211,7 @@ sn2_global_tlb_purge(unsigned long start spin_lock(&sn2_ptcg_lock2); node_set(cpu_to_node(smp_processor_id()), nodes_flushed); i = 0; - for_each_cpu(cpu) { + for_each_possible_cpu(cpu) { cnode = cpu_to_node(cpu); if (!node_isset(cnode, nodes_flushed)) { cpu_set(cpu, selected_cpus); @@ -269,7 +269,7 @@ sn2_global_tlb_purge(struct mm_struct *m i++; } #else - for_each_cpu(cpu) { + for_each_possible_cpu(c...