KVM: LAPIC: Introduce limit_periodic_timer_frequency
authorWanpeng Li <wanpeng.li@hotmail.com>
Fri, 6 Oct 2017 01:54:24 +0000 (18:54 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 12 Oct 2017 12:01:50 +0000 (14:01 +0200)
commitccbfa1d39b9e6d6e578176d091362287c53c7d4d
tree030ae2be7e60a89342ca302725317c94162d71f9
parentc69518c86be5000bf4d8eb0e0d279d40779d2a18
KVM: LAPIC: Introduce limit_periodic_timer_frequency

Extract the logic of limit lapic periodic timer frequency to a new function,
this function will be used by later patches.

Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Wanpeng Li <wanpeng.li@hotmail.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
arch/x86/kvm/lapic.c