From: Ingo Molnar Date: Wed, 6 May 2015 04:23:59 +0000 (+0200) Subject: x86/platform/uv: Make SGI UV dependent on CONFIG_PCI X-Git-Tag: omap-for-v4.2/fixes-rc1^2~170^2^4~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1222e564cf4394af0b3c5e8a73330b20862c068b;p=pandora-kernel.git x86/platform/uv: Make SGI UV dependent on CONFIG_PCI Recent PCI changes stopped exporting PCI constants if !CONFIG_PCI, which made the UV build fail: arch/x86/kernel/apic/x2apic_uv_x.c:843:16: error: ‘PCI_VGA_STATE_CHANGE_BRIDGE’ undeclared (first use in this function) arch/x86/kernel/apic/x2apic_uv_x.c:1023:2: error: implicit declaration of function ‘pci_register_set_vga_state’ [-Werror=implicit-function-declaration] As it's unlikely that an UV bootup will get far without PCI enumeration, make the platform Kconfig switch (CONFIG_X86_UV) depend on CONFIG_PCI=y. Cc: Robin Holt Cc: Dimitri Sivanich Cc: Russ Anderson Cc: Mike Travis Cc: Jack Steiner Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed