summaryrefslogtreecommitdiff
path: root/include/asm-generic/cacheflush.h
diff options
context:
space:
mode:
authorVitaly Kuznetsov <vkuznets@redhat.com>2022-11-01 17:53:52 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2022-11-18 20:59:07 +0300
commitbd19c94a19b09b563a20862c651859f6e3d73847 (patch)
tree19b900b430a68aafcb6ff484d24720f14d1135d3 /include/asm-generic/cacheflush.h
parentaee738236dca0d0870789138ec494e15d6303566 (diff)
downloadlinux-bd19c94a19b09b563a20862c651859f6e3d73847.tar.xz
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/cacheflush.h')
0 files changed, 0 insertions, 0 deletions