]> git.itanic.dy.fi Git - linux-stable/commitdiff
KVM: arm64: Do not source virt/lib/Kconfig twice
authorMasahiro Yamada <masahiroy@kernel.org>
Sun, 4 Feb 2024 07:43:05 +0000 (16:43 +0900)
committerMarc Zyngier <maz@kernel.org>
Sun, 4 Feb 2024 13:08:28 +0000 (13:08 +0000)
For ARCH=arm64, virt/lib/Kconfig is sourced twice,
from arch/arm64/kvm/Kconfig and from drivers/vfio/Kconfig.
There is no good reason to parse virt/lib/Kconfig twice.

Commit 2412405b3141 ("KVM: arm/arm64: register irq bypass consumer
on ARM/ARM64") should not have added this 'source' directive.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20240204074305.31492-1-masahiroy@kernel.org
arch/arm64/kvm/Kconfig

index 6c3c8ca73e7fda8bb29792218bb11d031e7527ff..27ca89b628a02499d18505953ad1cee73ccf7f88 100644 (file)
@@ -3,7 +3,6 @@
 # KVM configuration
 #
 
-source "virt/lib/Kconfig"
 source "virt/kvm/Kconfig"
 
 menuconfig VIRTUALIZATION