summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2026-10-20 06:38:31 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2026-10-21 03:28:21 -0400
commit164405e8e9a0378c7e1aff2254625a6553a291f1 (patch)
treec0ed0a858bd738bc0753183ce659ff218cd76498 /include/linux/timerqueue.h
parent9bcd6af09e2a3493ee702c9aa1110002ed4e83e8 (diff)
KVM: always make in-place conversion a compile-time constant when possible
Remove the unnecessary static call indirection and make gmem_in_place_conversion a constant if CONFIG_KVM_PRIVATE_MEMATTR_VM is false. Require that CONFIG_KVM_PRIVATE_MEMATTR_VM be enabled together with CONFIG_KVM_GUEST_MEMFD and with a definition of kvm_arch_has_private_mem. This way, the three possible cases can be expressed without nested #ifs. Reviewed-by: Xiaoyao Li <xiaoyao.li@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions