diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2009-10-14 12:27:42 -0400 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2009-11-04 11:47:27 -0500 |
commit | af5a8ee05404112f38fb2904747c688bdc31a746 (patch) | |
tree | 0a78517e34a731e3bd0b36a83c4a4cb610ed50e8 /arch/x86/pci | |
parent | df0e97c6f1f2fdca686036998fe816cefd8e27d7 (diff) |
x86/PCI: use -DDEBUG when CONFIG_PCI_DEBUG set
We use dev_dbg() in arch/x86/pci, but there's no easy way to turn it
on. Add -DDEBUG when CONFIG_PCI_DEBUG=y, just like we do in drivers/pci.
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'arch/x86/pci')
-rw-r--r-- | arch/x86/pci/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/pci/Makefile b/arch/x86/pci/Makefile index 56d917b556c6..d8a0a6279a4d 100644 --- a/arch/x86/pci/Makefile +++ b/arch/x86/pci/Makefile | |||
@@ -16,3 +16,7 @@ obj-$(CONFIG_X86_NUMAQ) += numaq_32.o | |||
16 | obj-y += common.o early.o | 16 | obj-y += common.o early.o |
17 | obj-y += amd_bus.o | 17 | obj-y += amd_bus.o |
18 | obj-$(CONFIG_X86_64) += intel_bus.o | 18 | obj-$(CONFIG_X86_64) += intel_bus.o |
19 | |||
20 | ifeq ($(CONFIG_PCI_DEBUG),y) | ||
21 | EXTRA_CFLAGS += -DDEBUG | ||
22 | endif | ||