linux/arch/x86/include
Haozhong Zhang 35181e86df KVM: x86: Add a common TSC scaling function
VMX and SVM calculate the TSC scaling ratio in a similar logic, so this
patch generalizes it to a common TSC scaling function.

Signed-off-by: Haozhong Zhang <haozhong.zhang@intel.com>
[Inline the multiplication and shift steps into mul_u64_u64_shr.  Remove
 BUG_ON.  - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
History 2015-11-10 12:06:15 +01:00
..
asm KVM: x86: Add a common TSC scaling function 2015-11-10 12:06:15 +01:00
uapi/asm drivers/hv: share Hyper-V SynIC constants with userspace 2015-11-04 16:24:33 +01:00