]> git.baikalelectronics.ru Git - kernel.git/commit
x86/Kconfig: Select PCI_LOCKLESS_CONFIG if PCI is enabled
authorSinan Kaya <okaya@kernel.org>
Mon, 21 Jan 2019 23:19:58 +0000 (23:19 +0000)
committerBorislav Petkov <bp@suse.de>
Tue, 22 Jan 2019 16:06:28 +0000 (17:06 +0100)
commit1d55cc1d87ee38eb207642e00830ed04a5eff30b
tree7a7fed6ee4e15866d02a545dd01946407b9548d0
parent3da976ce882fb025283b809e3339f9a65068c150
x86/Kconfig: Select PCI_LOCKLESS_CONFIG if PCI is enabled

After commit

  0776386189bf ("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: 0776386189bf3 ("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
arch/x86/Kconfig