aboutsummaryrefslogtreecommitdiffstats
path: root/virt/kvm/kvm_main.c
diff options
context:
space:
mode:
authorRadim Krčmář <rkrcmar@redhat.com>2014-08-28 09:13:03 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2014-08-29 10:35:55 -0400
commit13a34e067eab24fec882e1834fbf2cc31911d474 (patch)
tree62efa3909464b023f142634b18d3c98cc489b00d /virt/kvm/kvm_main.c
parent0865e636aef751966e6e0f8950a26bc7391e923c (diff)
KVM: remove garbage arg to *hardware_{en,dis}able
In the beggining was on_each_cpu(), which required an unused argument to kvm_arch_ops.hardware_{en,dis}able, but this was soon forgotten. Remove unnecessary arguments that stem from this. Signed-off-by: Radim Krčmář <rkrcmar@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'virt/kvm/kvm_main.c')
-rw-r--r--virt/kvm/kvm_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c
index 1d03967def40..7176929a4cda 100644
--- a/virt/kvm/kvm_main.c
+++ b/virt/kvm/kvm_main.c
@@ -2669,7 +2669,7 @@ static void hardware_enable_nolock(void *junk)
2669 2669
2670 cpumask_set_cpu(cpu, cpus_hardware_enabled); 2670 cpumask_set_cpu(cpu, cpus_hardware_enabled);
2671 2671
2672 r = kvm_arch_hardware_enable(NULL); 2672 r = kvm_arch_hardware_enable();
2673 2673
2674 if (r) { 2674 if (r) {
2675 cpumask_clear_cpu(cpu, cpus_hardware_enabled); 2675 cpumask_clear_cpu(cpu, cpus_hardware_enabled);
@@ -2694,7 +2694,7 @@ static void hardware_disable_nolock(void *junk)
2694 if (!cpumask_test_cpu(cpu, cpus_hardware_enabled)) 2694 if (!cpumask_test_cpu(cpu, cpus_hardware_enabled))
2695 return; 2695 return;
2696 cpumask_clear_cpu(cpu, cpus_hardware_enabled); 2696 cpumask_clear_cpu(cpu, cpus_hardware_enabled);
2697 kvm_arch_hardware_disable(NULL); 2697 kvm_arch_hardware_disable();
2698} 2698}
2699 2699
2700static void hardware_disable(void) 2700static void hardware_disable(void)