summaryrefslogtreecommitdiff
path: root/Documentation/serial
diff options
context:
space:
mode:
authorHaozhong Zhang <haozhong.zhang@intel.com>2015-10-20 07:39:03 (GMT)
committerPaolo Bonzini <pbonzini@redhat.com>2015-11-10 11:06:15 (GMT)
commit35181e86df97e4223f4a28fb33e2bcf3b73de141 (patch)
treee7df6020aaf6649eb287aa5c75f3e6cc324d9347 /Documentation/serial
parentad721883e9c5f46cc5fa9496bc12c097c6238b4a (diff)
downloadlinux-35181e86df97e4223f4a28fb33e2bcf3b73de141.tar.xz
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>
Diffstat (limited to 'Documentation/serial')
0 files changed, 0 insertions, 0 deletions