tracing/kprobes: Make Kconfig dependencies generic
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Wed, 10 Feb 2010 16:25:17 +0000 (17:25 +0100)
committerFrederic Weisbecker <fweisbec@gmail.com>
Wed, 17 Feb 2010 12:13:08 +0000 (13:13 +0100)
commitf850c30c8b426ba1688cb63b1a3e534eed03a138
treeb01f27bc57b73cf8311c8135be0ffc8e93b16ed6
parente7b8e675d9c71b868b66f62f725a948047514719
tracing/kprobes: Make Kconfig dependencies generic

KPROBES_EVENT actually depends on the regs and stack access API
(b1cf540f) and not on x86.
So introduce a new config option which architectures can select if
they have the API implemented and switch x86.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Acked-by: Masami Hiramatsu <mhiramat@redhat.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
LKML-Reference: <20100210162517.GB6933@osiris.boeblingen.de.ibm.com>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
arch/Kconfig
arch/x86/Kconfig
kernel/trace/Kconfig