Skip to content

Commit

Permalink
KVM: VMX: fix handle_pause declaration
Browse files Browse the repository at this point in the history
There's no kvm_run argument anymore.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
  • Loading branch information
Marcelo Tosatti authored and Avi Kivity committed Dec 3, 2009
1 parent 6b7d7e7 commit 9fb41ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/kvm/vmx.c
Original file line number Diff line number Diff line change
Expand Up @@ -3387,7 +3387,7 @@ static int handle_invalid_guest_state(struct kvm_vcpu *vcpu)
* 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);
Expand Down

0 comments on commit 9fb41ba

Please sign in to comment.