Skip to content

Commit

Permalink
x86/mmiotrace: uses/depends on PCI
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Randy Dunlap authored and Thomas Gleixner committed May 24, 2008
1 parent 0663bb6 commit 37b3619
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/x86/Kconfig.debug
Original file line number Diff line number Diff line change
Expand Up @@ -173,15 +173,15 @@ config MMIOTRACE_HOOKS

config MMIOTRACE
bool "Memory mapped IO tracing"
depends on DEBUG_KERNEL
depends on DEBUG_KERNEL && PCI
select TRACING
select MMIOTRACE_HOOKS
default y
help
Mmiotrace traces Memory Mapped I/O access and is meant for
debugging and reverse engineering. It is called from the ioremap
implementation and works via page faults. Tracing is disabled by
default and can be enabled run-time.
default and can be enabled at run-time.

See Documentation/tracers/mmiotrace.txt.
If you are not helping to develop drivers, say N.
Expand Down

0 comments on commit 37b3619

Please sign in to comment.