]> git.ipfire.org Git - thirdparty/linux.git/commit - kernel/notifier.c
kprobes, notifier: Use NOKPROBE_SYMBOL macro in notifier
authorMasami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Thu, 17 Apr 2014 08:18:35 +0000 (17:18 +0900)
committerIngo Molnar <mingo@kernel.org>
Thu, 24 Apr 2014 08:26:39 +0000 (10:26 +0200)
commitb40a2cb6e0c218c6d0f12c7f7e683e75972973c1
tree6d69ce70401f143118479917577a0dbeff99eebd
parent3da0f18007e5b87b573cf6ae8c445d59e757d274
kprobes, notifier: Use NOKPROBE_SYMBOL macro in notifier

Use NOKPROBE_SYMBOL macro to protect functions from
kprobes instead of __kprobes annotation in notifier.

Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Reviewed-by: Steven Rostedt <rostedt@goodmis.org>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Link: http://lkml.kernel.org/r/20140417081835.26341.56128.stgit@ltc230.yrl.intra.hitachi.co.jp
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/notifier.c