[PATCH] fix amd_get_mmconfig_range link error

From: Bjorn Helgaas
Date: Thu Jan 12 2012 - 10:01:36 EST


This fixes a link error in current upstream when:

CONFIG_PCI=y
# CONFIG_AMD_NB not set

LD .tmp_vmlinux1
arch/x86/pci/built-in.o: In function `early_fill_mp_bus_info':
/opt/src/linux/arch/x86/pci/amd_bus.c:189: undefined reference to
`amd_get_mmconfig_range'
make: *** [.tmp_vmlinux1] Error 1

---

Bjorn Helgaas (1):
x86/PCI: build amd_bus.o only when CONFIG_AMD_NB=y


arch/x86/pci/Makefile | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)

--
Bjorn
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/