aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMarcelo Tosatti <mtosatti@redhat.com>2009-10-12 19:37:31 -0300
committerAvi Kivity <avi@redhat.com>2009-12-03 09:32:18 +0200
commit9fb41ba8962b18159e16cac81e7d57e897964038 (patch)
tree7b92fdcdd6cfff61609ed7488d56def80c182df1 /arch
parentKVM: x86: Harden against cpufreq (diff)
downloadlinux-dev-9fb41ba8962b18159e16cac81e7d57e897964038.tar.xz
linux-dev-9fb41ba8962b18159e16cac81e7d57e897964038.zip
KVM: VMX: fix handle_pause declaration
There's no kvm_run argument anymore. Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kvm/vmx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c
index a4580d65af59..364263a25ff8 100644
--- a/arch/x86/kvm/vmx.c
+++ b/arch/x86/kvm/vmx.c
@@ -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);