Skip to content

Commit 625210c

Browse files
Sinan Kayasuryasaimadhu
authored andcommitted
x86/Kconfig: Select PCI_LOCKLESS_CONFIG if PCI is enabled
After commit 5d32a66 ("PCI/ACPI: Allow ACPI to be built without CONFIG_PCI set") dependencies on CONFIG_PCI that previously were satisfied implicitly through dependencies on CONFIG_ACPI have to be specified directly. PCI_LOCKLESS_CONFIG depends on PCI but this dependency has not been mentioned in the Kconfig so add an explicit dependency here and fix WARNING: unmet direct dependencies detected for PCI_LOCKLESS_CONFIG Depends on [n]: PCI [=n] Selected by [y]: - X86 [=y] Fixes: 5d32a66 ("PCI/ACPI: Allow ACPI to be built without CONFIG_PCI set") Signed-off-by: Sinan Kaya <okaya@kernel.org> Signed-off-by: Borislav Petkov <bp@suse.de> Cc: "H. Peter Anvin" <hpa@zytor.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: linux-acpi@vger.kernel.org Cc: x86-ml <x86@kernel.org> Link: https://lkml.kernel.org/r/20190121231958.28255-2-okaya@kernel.org
1 parent fc24d75 commit 625210c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ config X86
198198
select IRQ_FORCED_THREADING
199199
select NEED_SG_DMA_LENGTH
200200
select PCI_DOMAINS if PCI
201-
select PCI_LOCKLESS_CONFIG
201+
select PCI_LOCKLESS_CONFIG if PCI
202202
select PERF_EVENTS
203203
select RTC_LIB
204204
select RTC_MC146818_LIB

0 commit comments

Comments
 (0)