projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df0e97c
)
x86/PCI: use -DDEBUG when CONFIG_PCI_DEBUG set
author
Bjorn Helgaas
<bjorn.helgaas@hp.com>
Wed, 14 Oct 2009 16:27:42 +0000
(10:27 -0600)
committer
Jesse Barnes
<jbarnes@virtuousgeek.org>
Wed, 4 Nov 2009 16:47:27 +0000
(08:47 -0800)
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>
arch/x86/pci/Makefile
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/pci/Makefile
b/arch/x86/pci/Makefile
index 56d917b556c62770eac3b7b8d55af5dec829b494..d8a0a6279a4d65f857ba3ff0e522718e5592a71e 100644
(file)
--- a/
arch/x86/pci/Makefile
+++ b/
arch/x86/pci/Makefile
@@
-16,3
+16,7
@@
obj-$(CONFIG_X86_NUMAQ) += numaq_32.o
obj-y += common.o early.o
obj-y += amd_bus.o
obj-$(CONFIG_X86_64) += intel_bus.o
+
+ifeq ($(CONFIG_PCI_DEBUG),y)
+EXTRA_CFLAGS += -DDEBUG
+endif