diff options
author | Ilias Stamatis <ilstam@amazon.com> | 2021-05-26 20:44:08 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-06-17 19:09:27 +0200 |
commit | 605a140a49099effc069f0fd509db34d91f48496 (patch) | |
tree | ee3632b91c72fda9366bb2e05a21df7320f3e247 /arch/x86/include/asm | |
parent | KVM: x86/mmu: Lazily allocate memslot rmaps (diff) | |
download | linux-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