diff options
author | Sean Christopherson <seanjc@google.com> | 2023-10-18 12:23:25 -0700 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2023-11-29 14:44:47 -0800 |
commit | 0277022a77a56f8251e8cf8d25e9308478e79ea5 (patch) | |
tree | 54de95adbb4af341e4477b0ae6210b9127e8f340 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | e9e60c82fe391d04db55a91c733df4a017c28b2f (diff) |
KVM: x86/mmu: Declare flush_remote_tlbs{_range}() hooks iff HYPERV!=n
Declare the kvm_x86_ops hooks used to wire up paravirt TLB flushes when
running under Hyper-V if and only if CONFIG_HYPERV!=n. Wrapping yet more
code with IS_ENABLED(CONFIG_HYPERV) eliminates a handful of conditional
branches, and makes it super obvious why the hooks *might* be valid.
Cc: Vitaly Kuznetsov <vkuznets@redhat.com>
Reviewed-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Link: https://lore.kernel.org/r/20231018192325.1893896-1-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions