]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: Squash two CONFIG_HAVE_KVM_IRQCHIP #ifdefs into one
authorSean Christopherson <seanjc@google.com>
Wed, 11 Jun 2025 21:35:54 +0000 (14:35 -0700)
committerSean Christopherson <seanjc@google.com>
Fri, 20 Jun 2025 20:52:50 +0000 (13:52 -0700)
commit141db6cd79e2d71fce3049347177f98a233d8eb2
tree80a69b94c31c35bc24aecc1891159f09a45e94cc
parent628a27731e3f36de7ddce226f7e09ee70e40ed66
KVM: Squash two CONFIG_HAVE_KVM_IRQCHIP #ifdefs into one

Squash two #idef CONFIG_HAVE_KVM_IRQCHIP regions in KVM's trace events, as
the only code outside of the #idefs depends on CONFIG_KVM_IOAPIC, and that
Kconfig only exists for x86, which unconditionally selects HAVE_KVM_IRQCHIP.

No functional change intended.

Acked-by: Kai Huang <kai.huang@intel.com>
Link: https://lore.kernel.org/r/20250611213557.294358-16-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
include/trace/events/kvm.h