smp_call_function: get rid of the unused nonatomic/retry argument
It's never used and the comments refer to nonatomic and retry interchangably. So get rid of it. Acked-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
This commit is contained in:
@ -1266,12 +1266,12 @@ static int kvm_cpu_hotplug(struct notifier_block *notifier, unsigned long val,
|
||||
case CPU_UP_CANCELED:
|
||||
printk(KERN_INFO "kvm: disabling virtualization on CPU%d\n",
|
||||
cpu);
|
||||
smp_call_function_single(cpu, hardware_disable, NULL, 0, 1);
|
||||
smp_call_function_single(cpu, hardware_disable, NULL, 1);
|
||||
break;
|
||||
case CPU_ONLINE:
|
||||
printk(KERN_INFO "kvm: enabling virtualization on CPU%d\n",
|
||||
cpu);
|
||||
smp_call_function_single(cpu, hardware_enable, NULL, 0, 1);
|
||||
smp_call_function_single(cpu, hardware_enable, NULL, 1);
|
||||
break;
|
||||
}
|
||||
return NOTIFY_OK;
|
||||
@ -1474,7 +1474,7 @@ int kvm_init(void *opaque, unsigned int vcpu_size,
|
||||
for_each_online_cpu(cpu) {
|
||||
smp_call_function_single(cpu,
|
||||
kvm_arch_check_processor_compat,
|
||||
&r, 0, 1);
|
||||
&r, 1);
|
||||
if (r < 0)
|
||||
goto out_free_1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user