[PATCH] fix amd_get_mmconfig_range link error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux