]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Kprobes: indicate kretprobe support in Kconfig
authorAnanth N Mavinakayanahalli <ananth@in.ibm.com>
Tue, 4 Mar 2008 22:28:37 +0000 (14:28 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 5 Mar 2008 00:35:11 +0000 (16:35 -0800)
commit9edddaa200df18e08fe0cf21036e8ae467b1363c
tree26f5319fac24fb6c76b1276b19725caeb5ec24bc
parent8182ec49a73729334f5a6c65a607ba7009ebd6d6
Kprobes: indicate kretprobe support in Kconfig

Add CONFIG_HAVE_KRETPROBES to the arch/<arch>/Kconfig file for relevant
architectures with kprobes support.  This facilitates easy handling of
in-kernel modules (like samples/kprobes/kretprobe_example.c) that depend on
kretprobes being present in the kernel.

Thanks to Sam Ravnborg for helping make the patch more lean.

Per Mathieu's suggestion, added CONFIG_KRETPROBES and fixed up dependencies.

Signed-off-by: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Acked-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
15 files changed:
arch/Kconfig
arch/arm/Kconfig
arch/ia64/Kconfig
arch/powerpc/Kconfig
arch/s390/Kconfig
arch/sparc64/Kconfig
arch/x86/Kconfig
include/asm-arm/kprobes.h
include/asm-ia64/kprobes.h
include/asm-powerpc/kprobes.h
include/asm-s390/kprobes.h
include/asm-sparc64/kprobes.h
include/asm-x86/kprobes.h
include/linux/kprobes.h
kernel/kprobes.c