diff options
author | Vitaly Kuznetsov <vkuznets@redhat.com> | 2022-11-01 15:53:52 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-11-18 12:59:07 -0500 |
commit | bd19c94a19b09b563a20862c651859f6e3d73847 (patch) | |
tree | 19b900b430a68aafcb6ff484d24720f14d1135d3 /include/asm-generic/mmu_context.h | |
parent | aee738236dca0d0870789138ec494e15d6303566 (diff) | |
download | linux-stable-bd19c94a19b09b563a20862c651859f6e3d73847.tar.gz linux-stable-bd19c94a19b09b563a20862c651859f6e3d73847.tar.bz2 linux-stable-bd19c94a19b09b563a20862c651859f6e3d73847.zip |
x86/hyperv: Introduce HV_MAX_SPARSE_VCPU_BANKS/HV_VCPUS_PER_SPARSE_BANK constants
It may not come clear from where the magical '64' value used in
__cpumask_to_vpset() come from. Moreover, '64' means both the maximum
sparse bank number as well as the number of vCPUs per bank. Add defines
to make things clear. These defines are also going to be used by KVM.
No functional change.
Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com>
Reviewed-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20221101145426.251680-15-vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/asm-generic/mmu_context.h')
0 files changed, 0 insertions, 0 deletions