/* Disable all cpu but the first in cpu_irq_cpumask. */
cpumask = iucv_irq_cpumask;
cpu_clear(first_cpu(iucv_irq_cpumask), cpumask);
- for_each_cpu_mask(cpu, cpumask)
+ for_each_cpu_mask_nr(cpu, cpumask)
smp_call_function_single(cpu, iucv_block_cpu, NULL, 1);
}
rc = -EIO;
get_online_cpus();
for_each_online_cpu(cpu)
-<<<<<<< HEAD:net/iucv/iucv.c
- smp_call_function_single(cpu, iucv_declare_cpu, NULL, 0, 1);
-=======
smp_call_function_single(cpu, iucv_declare_cpu, NULL, 1);
- preempt_enable();
->>>>>>> 5b664cb235e97afbf34db9c4d77f08ebd725335e:net/iucv/iucv.c
if (cpus_empty(iucv_buffer_cpumask))
/* No cpu could declare an iucv buffer. */
goto out_path;
*/
static void iucv_disable(void)
{
-<<<<<<< HEAD:net/iucv/iucv.c
get_online_cpus();
- on_each_cpu(iucv_retrieve_cpu, NULL, 0, 1);
- put_online_cpus();
-=======
on_each_cpu(iucv_retrieve_cpu, NULL, 1);
->>>>>>> 5b664cb235e97afbf34db9c4d77f08ebd725335e:net/iucv/iucv.c
+ put_online_cpus();
kfree(iucv_path_table);
}