summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm
diff options
context:
space:
mode:
authorIlias Stamatis <ilstam@amazon.com>2021-05-26 20:44:08 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2021-06-17 19:09:27 +0200
commit605a140a49099effc069f0fd509db34d91f48496 (patch)
treeee3632b91c72fda9366bb2e05a21df7320f3e247 /arch/x86/include/asm
parentKVM: x86/mmu: Lazily allocate memslot rmaps (diff)
downloadlinux-605a140a49099effc069f0fd509db34d91f48496.tar.xz
linux-605a140a49099effc069f0fd509db34d91f48496.zip
math64.h: Add mul_s64_u64_shr()
This function is needed for KVM's nested virtualization. The nested TSC scaling implementation requires multiplying the signed TSC offset with the unsigned TSC multiplier. Signed-off-by: Ilias Stamatis <ilstam@amazon.com> Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com> Message-Id: <20210526184418.28881-2-ilstam@amazon.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/include/asm')
0 files changed, 0 insertions, 0 deletions