]> git.baikalelectronics.ru Git - kernel.git/commit
kvm: lapic: separate start_sw_tscdeadline from start_apic_timer
authorYunhong Jiang <yunhong.jiang@gmail.com>
Mon, 13 Jun 2016 21:20:00 +0000 (14:20 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 16 Jun 2016 08:07:46 +0000 (10:07 +0200)
commitf037216222c30f00b87038e2496cc94c7ae41162
tree8c30b9ff56470304f867af0615aec25afe2f99fa
parentb1afe4a8d680c4df69fa2124c01eb3fdba02e0b2
kvm: lapic: separate start_sw_tscdeadline from start_apic_timer

The function to start the tsc deadline timer virtualization will be used
also by the pre_block hook when we use the preemption timer; change it
to a separate function. No logic changes.

Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/lapic.c