aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2008-05-12 15:20:59 -0400
committerThomas Gleixner <tglx@linutronix.de>2008-05-24 05:26:36 -0400
commit37b3619257d3190f47f233d7ed626d4b9916462c (patch)
treeb8e0d74034bd39f75fa4f5b0681f82cf5e91b76f /arch/x86
parent0663bb6cd9a457fbd8ca95c627bb762d07321a39 (diff)
x86/mmiotrace: uses/depends on PCI
Don't try to build mmiotrace when CONFIG_PCI=n. next-20080416/kernel/trace/trace_mmiotrace.c: In function 'mmio_print_pcidev': next-20080416/kernel/trace/trace_mmiotrace.c:62: error: implicit declaration of function 'pci_dev_driver' Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/Kconfig.debug4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/Kconfig.debug b/arch/x86/Kconfig.debug
index b28ace2be1a..1e53df0ba08 100644
--- a/arch/x86/Kconfig.debug
+++ b/arch/x86/Kconfig.debug
@@ -173,7 +173,7 @@ config MMIOTRACE_HOOKS
173 173
174config MMIOTRACE 174config MMIOTRACE
175 bool "Memory mapped IO tracing" 175 bool "Memory mapped IO tracing"
176 depends on DEBUG_KERNEL 176 depends on DEBUG_KERNEL && PCI
177 select TRACING 177 select TRACING
178 select MMIOTRACE_HOOKS 178 select MMIOTRACE_HOOKS
179 default y 179 default y
@@ -181,7 +181,7 @@ config MMIOTRACE
181 Mmiotrace traces Memory Mapped I/O access and is meant for 181 Mmiotrace traces Memory Mapped I/O access and is meant for
182 debugging and reverse engineering. It is called from the ioremap 182 debugging and reverse engineering. It is called from the ioremap
183 implementation and works via page faults. Tracing is disabled by 183 implementation and works via page faults. Tracing is disabled by
184 default and can be enabled run-time. 184 default and can be enabled at run-time.
185 185
186 See Documentation/tracers/mmiotrace.txt. 186 See Documentation/tracers/mmiotrace.txt.
187 If you are not helping to develop drivers, say N. 187 If you are not helping to develop drivers, say N.