فهرست منبع

KVM: VMX: fix handle_pause declaration

There's no kvm_run argument anymore.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Marcelo Tosatti 15 سال پیش
والد
کامیت
9fb41ba896
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      arch/x86/kvm/vmx.c

+ 1 - 1
arch/x86/kvm/vmx.c

@@ -3387,7 +3387,7 @@ out:
  * Indicate a busy-waiting vcpu in spinlock. We do not enable the PAUSE
  * Indicate a busy-waiting vcpu in spinlock. We do not enable the PAUSE
  * exiting, so only get here on cpu with PAUSE-Loop-Exiting.
  * 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);
 	skip_emulated_instruction(vcpu);
 	kvm_vcpu_on_spin(vcpu);
 	kvm_vcpu_on_spin(vcpu);