Skip to content

Commit e26bb75

Browse files
sean-jcMarc Zyngier
authored andcommitted
KVM: arm64: Depend on HAVE_KVM instead of OF
Select HAVE_KVM at all times on arm64, as the OF requirement is always there (even in the case of an ACPI system, we still depend on some of the OF infrastructure), and won't fo away. No functional change intended. Signed-off-by: Sean Christopherson <[email protected]> Acked-by: Will Deacon <[email protected]> [maz: Drop the "HAVE_KVM if OF" dependency, as OF is always there on arm64, new commit message] Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent c8f1e96 commit e26bb75

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

arch/arm64/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ config ARM64
186186
select HAVE_GCC_PLUGINS
187187
select HAVE_HW_BREAKPOINT if PERF_EVENTS
188188
select HAVE_IRQ_TIME_ACCOUNTING
189+
select HAVE_KVM
189190
select HAVE_NMI
190191
select HAVE_PATA_PLATFORM
191192
select HAVE_PERF_EVENTS

arch/arm64/kvm/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ if VIRTUALIZATION
2020

2121
menuconfig KVM
2222
bool "Kernel-based Virtual Machine (KVM) support"
23-
depends on OF
23+
depends on HAVE_KVM
2424
select MMU_NOTIFIER
2525
select PREEMPT_NOTIFIERS
2626
select HAVE_KVM_CPU_RELAX_INTERCEPT

0 commit comments

Comments
 (0)