Skip to content

Commit abde587

Browse files
arndbKAGA-KOKO
authored andcommitted
x86/jailhouse: Add PCI dependency
Building jailhouse support without PCI results in a link error: arch/x86/kernel/jailhouse.o: In function `jailhouse_init_platform': jailhouse.c:(.init.text+0x235): undefined reference to `pci_probe' arch/x86/kernel/jailhouse.o: In function `jailhouse_pci_arch_init': jailhouse.c:(.init.text+0x265): undefined reference to `pci_direct_init' jailhouse.c:(.init.text+0x26c): undefined reference to `pcibios_last_bus' Add the missing Kconfig dependency. Fixes: a0c01e4 ("x86/jailhouse: Initialize PCI support") Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Cc: Jan Kiszka <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
1 parent be6d447 commit abde587

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
@@ -798,7 +798,7 @@ config PARAVIRT_CLOCK
798798

799799
config JAILHOUSE_GUEST
800800
bool "Jailhouse non-root cell support"
801-
depends on X86_64
801+
depends on X86_64 && PCI
802802
select X86_PM_TIMER
803803
---help---
804804
This option allows to run Linux as guest in a Jailhouse non-root

0 commit comments

Comments
 (0)