diff options
author | Avi Kivity <avi@redhat.com> | 2012-07-26 18:01:53 +0300 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2012-08-01 00:21:07 -0300 |
commit | 26ef19242f6e4d747a61b5fd8da72343838864e4 (patch) | |
tree | f2eedd1c60bbd34f72c6a1546958cb8bec0c573d /arch/x86/kvm/x86.c | |
parent | 9d9d2239bdecd525ce3eb6cbfe4abb925c98208c (diff) | |
download | linux-26ef19242f6e4d747a61b5fd8da72343838864e4.tar.gz linux-26ef19242f6e4d747a61b5fd8da72343838864e4.tar.bz2 linux-26ef19242f6e4d747a61b5fd8da72343838864e4.zip |
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.c | 2 |
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, if (!kvm->arch.vpit) return -ENXIO; mutex_lock(&kvm->arch.vpit->pit_state.lock); - kvm->arch.vpit->pit_state.pit_timer.reinject = control->pit_reinject; + kvm->arch.vpit->pit_state.reinject = control->pit_reinject; mutex_unlock(&kvm->arch.vpit->pit_state.lock); return 0; } |