summaryrefslogtreecommitdiff
path: root/kernel/notifier.c
diff options
context:
space:
mode:
authorMasami Hiramatsu <mhiramat@redhat.com>2009-08-27 17:23:18 (GMT)
committerFrederic Weisbecker <fweisbec@gmail.com>2009-08-30 01:08:26 (GMT)
commit8f270083587a4cb70fa14f0e2fd698eb08a4dd07 (patch)
treed6f736b37864a4da7dcc19f16a257f23d10be1df /kernel/notifier.c
parent62c9295f9dd250ea1bb2c8078642a275a9ce82f8 (diff)
downloadlinux-3.10-8f270083587a4cb70fa14f0e2fd698eb08a4dd07.zip
linux-3.10-8f270083587a4cb70fa14f0e2fd698eb08a4dd07.tar.gz
linux-3.10-8f270083587a4cb70fa14f0e2fd698eb08a4dd07.tar.bz2
kprobes: Fix to add __kprobes to notify_die
Add __kprobes to notify_die() because do_int3() calls notify_die() instead of atomic_notify_call_chain() which is already marked as __kprobes. Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com> Acked-by: Ananth N Mavinakayanahalli <ananth@in.ibm.com> Cc: Ingo Molnar <mingo@elte.hu> LKML-Reference: <20090827172318.8246.53702.stgit@localhost.localdomain> Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Diffstat (limited to 'kernel/notifier.c')
-rw-r--r--kernel/notifier.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/notifier.c b/kernel/notifier.c
index 61d5aa5..acd24e7 100644
--- a/kernel/notifier.c
+++ b/kernel/notifier.c
@@ -558,7 +558,7 @@ EXPORT_SYMBOL(unregister_reboot_notifier);
static ATOMIC_NOTIFIER_HEAD(die_chain);
-int notrace notify_die(enum die_val val, const char *str,
+int notrace __kprobes notify_die(enum die_val val, const char *str,
struct pt_regs *regs, long err, int trap, int sig)
{
struct die_args args = {