kprobes: Move enable/disable_kprobe() out from debugfs code
authorMasami Hiramatsu <mhiramat@redhat.com>
Tue, 27 Apr 2010 22:33:12 +0000 (18:33 -0400)
committerIngo Molnar <mingo@elte.hu>
Sat, 8 May 2010 16:08:30 +0000 (18:08 +0200)
commitc0614829c16ab9d31f1b7d40516decfbf3d32102
tree3787f73258a8cc02b6608849c37bff71ce3a3272
parentc7993165ef0c1d636ca05f4787739f8414584e6d
kprobes: Move enable/disable_kprobe() out from debugfs code

Move enable/disable_kprobe() API out from debugfs related code,
because these interfaces are not related to debugfs interface.

This fixes a compiler warning.

Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com>
Acked-by: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Acked-by: Tony Luck <tony.luck@intel.com>
Cc: systemtap <systemtap@sources.redhat.com>
Cc: DLE <dle-develop@lists.sourceforge.net>
LKML-Reference: <20100427223312.2322.60512.stgit@localhost6.localdomain6>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/kprobes.c