Linux PCI subsystem development
 help / color / mirror / Atom feed
* [PATCH v2 1/3] x86/PCI: build amd_bus.o only when CONFIG_AMD_NB=y
@ 2012-01-09 22:43 Bjorn Helgaas
  2012-01-09 22:43 ` [PATCH v2 2/3] x86, amd: factor out MMCONFIG discovery Bjorn Helgaas
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Bjorn Helgaas @ 2012-01-09 22:43 UTC (permalink / raw)
  To: Jesse Barnes; +Cc: linux-pci, Yinghai Lu

We only need amd_bus.o for AMD systems with PCI.  arch/x86/pci/Makefile
already depends on CONFIG_PCI=y, so this patch just adds the dependency
on CONFIG_AMD_NB.

CC: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
---
 arch/x86/pci/Makefile |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/arch/x86/pci/Makefile b/arch/x86/pci/Makefile
index 6b8759f..d24d3da 100644
--- a/arch/x86/pci/Makefile
+++ b/arch/x86/pci/Makefile
@@ -18,8 +18,9 @@ obj-$(CONFIG_X86_NUMAQ)		+= numaq_32.o
 obj-$(CONFIG_X86_MRST)		+= mrst.o
 
 obj-y				+= common.o early.o
-obj-y				+= amd_bus.o bus_numa.o
+obj-y				+= bus_numa.o
 
+obj-$(CONFIG_AMD_NB)		+= amd_bus.o
 obj-$(CONFIG_PCI_CNB20LE_QUIRK)	+= broadcom_bus.o
 
 ifeq ($(CONFIG_PCI_DEBUG),y)


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-01-25 21:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-09 22:43 [PATCH v2 1/3] x86/PCI: build amd_bus.o only when CONFIG_AMD_NB=y Bjorn Helgaas
2012-01-09 22:43 ` [PATCH v2 2/3] x86, amd: factor out MMCONFIG discovery Bjorn Helgaas
2012-01-09 22:43 ` [PATCH v2 3/3] PNP: work around Dell 1536/1546 BIOS MMCONFIG bug that breaks USB Bjorn Helgaas
2012-01-25 21:08 ` [PATCH v2 1/3] x86/PCI: build amd_bus.o only when CONFIG_AMD_NB=y Jesse Barnes
2012-01-25 21:33   ` Bjorn Helgaas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox