aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/x86.c
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2012-07-26 11:01:53 -0400
committerMarcelo Tosatti <mtosatti@redhat.com>2012-07-31 23:21:07 -0400
commit26ef19242f6e4d747a61b5fd8da72343838864e4 (patch)
treef2eedd1c60bbd34f72c6a1546958cb8bec0c573d /arch/x86/kvm/x86.c
parent9d9d2239bdecd525ce3eb6cbfe4abb925c98208c (diff)
KVM: fold kvm_pit_timer into kvm_kpit_state
One structure nests inside the other, providing no value at all. Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'arch/x86/kvm/x86.c')
-rw-r--r--arch/x86/kvm/x86.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index b6379e55ee27..3a53bcc24f20 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -3082,7 +3082,7 @@ static int kvm_vm_ioctl_reinject(struct kvm *kvm,
3082 if (!kvm->arch.vpit) 3082 if (!kvm->arch.vpit)
3083 return -ENXIO; 3083 return -ENXIO;
3084 mutex_lock(&kvm->arch.vpit->pit_state.lock); 3084 mutex_lock(&kvm->arch.vpit->pit_state.lock);
3085 kvm->arch.vpit->pit_state.pit_timer.reinject = control->pit_reinject; 3085 kvm->arch.vpit->pit_state.reinject = control->pit_reinject;
3086 mutex_unlock(&kvm->arch.vpit->pit_state.lock); 3086 mutex_unlock(&kvm->arch.vpit->pit_state.lock);
3087 return 0; 3087 return 0;
3088} 3088}