diff options
author | Sean Christopherson <[email protected]> | 2023-10-18 12:23:25 -0700 |
---|---|---|
committer | Sean Christopherson <[email protected]> | 2023-11-29 14:44:47 -0800 |
commit | 0277022a77a56f8251e8cf8d25e9308478e79ea5 (patch) | |
tree | 54de95adbb4af341e4477b0ae6210b9127e8f340 /tools/perf/scripts/python/compaction-times.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 <[email protected]>
Reviewed-by: Vitaly Kuznetsov <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions