summaryrefslogtreecommitdiffstats
path: root/kernel/kprobes.c
diff options
context:
space:
mode:
authorAbhishek Sagar <sagar.abhishek@gmail.com>2008-07-25 10:46:05 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-25 19:53:30 +0200
commit8b6dd986823a8d92ed9f54baa5cef8604d9d9d44 (patch)
tree42aa64ad046b200c4a04491eb3c72ac2f7ffde0e /kernel/kprobes.c
parentkprobes: improve kretprobe scalability with hashed locking (diff)
downloadlinux-8b6dd986823a8d92ed9f54baa5cef8604d9d9d44.tar.xz
linux-8b6dd986823a8d92ed9f54baa5cef8604d9d9d44.zip
kprobes: remove redundant config check
I noticed that there's a CONFIG_KPROBES check inside kernel/kprobes.c, which is redundant. Signed-off-by: Abhishek Sagar <sagar.abhishek@gmail.com> Acked-by: Masami Hiramatsu <mhiramat@redhat.com> Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com> Cc: Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
-rw-r--r--kernel/kprobes.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/kernel/kprobes.c b/kernel/kprobes.c
index cb0b3bde3617..75bc2cd9ebc6 100644
--- a/kernel/kprobes.c
+++ b/kernel/kprobes.c
@@ -1337,13 +1337,8 @@ EXPORT_SYMBOL_GPL(register_jprobe);
EXPORT_SYMBOL_GPL(unregister_jprobe);
EXPORT_SYMBOL_GPL(register_jprobes);
EXPORT_SYMBOL_GPL(unregister_jprobes);
-#ifdef CONFIG_KPROBES
EXPORT_SYMBOL_GPL(jprobe_return);
-#endif
-
-#ifdef CONFIG_KPROBES
EXPORT_SYMBOL_GPL(register_kretprobe);
EXPORT_SYMBOL_GPL(unregister_kretprobe);
EXPORT_SYMBOL_GPL(register_kretprobes);
EXPORT_SYMBOL_GPL(unregister_kretprobes);
-#endif