diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2024-02-08 08:47:06 -0500 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2024-02-08 08:47:51 -0500 |
commit | 687d8f4c3dea0758afd748968d91288220bbe7e3 (patch) | |
tree | 51e96d725f225ec24ac018daf8657fd19b4f06c8 /tools | |
parent | 693270471d96a63897bd132df15e00da826fa84b (diff) | |
parent | f48212ee8e78f765917dc64a7ff4bd13c7e71384 (diff) | |
download | linux-stable-687d8f4c3dea0758afd748968d91288220bbe7e3.tar.gz linux-stable-687d8f4c3dea0758afd748968d91288220bbe7e3.tar.bz2 linux-stable-687d8f4c3dea0758afd748968d91288220bbe7e3.zip |
Merge branch 'kvm-kconfig'
Cleanups to Kconfig definitions for KVM
* replace HAVE_KVM with an architecture-dependent symbol, when CONFIG_KVM
may or may not be available depending on CPU capabilities (MIPS)
* replace HAVE_KVM with IS_ENABLED(CONFIG_KVM) for host-side code that is
not part of the KVM module, so that it is completely compiled out
* factor common "select" statements in common code instead of requiring
each architecture to specify it
Diffstat (limited to 'tools')
-rw-r--r-- | tools/arch/x86/include/asm/irq_vectors.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/arch/x86/include/asm/irq_vectors.h b/tools/arch/x86/include/asm/irq_vectors.h index 3a19904c2db6..3f73ac3ed3a0 100644 --- a/tools/arch/x86/include/asm/irq_vectors.h +++ b/tools/arch/x86/include/asm/irq_vectors.h @@ -84,7 +84,7 @@ #define HYPERVISOR_CALLBACK_VECTOR 0xf3 /* Vector for KVM to deliver posted interrupt IPI */ -#ifdef CONFIG_HAVE_KVM +#if IS_ENABLED(CONFIG_KVM) #define POSTED_INTR_VECTOR 0xf2 #define POSTED_INTR_WAKEUP_VECTOR 0xf1 #define POSTED_INTR_NESTED_VECTOR 0xf0 |