KVM: VMX: fix handle_pause declaration
authorMarcelo Tosatti <mtosatti@redhat.com>
Mon, 12 Oct 2009 22:37:31 +0000 (19:37 -0300)
committerAvi Kivity <avi@redhat.com>
Thu, 3 Dec 2009 07:32:18 +0000 (09:32 +0200)
There's no kvm_run argument anymore.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/vmx.c

index a4580d65af59e8e59097be7da75f0e03a8b77302..364263a25ff89ed93207a29a97aa9a3b8c241717 100644 (file)
@@ -3387,7 +3387,7 @@ out:
  * Indicate a busy-waiting vcpu in spinlock. We do not enable the PAUSE
  * exiting, so only get here on cpu with PAUSE-Loop-Exiting.
  */
-static int handle_pause(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run)
+static int handle_pause(struct kvm_vcpu *vcpu)
 {
        skip_emulated_instruction(vcpu);
        kvm_vcpu_on_spin(vcpu);