diff options
author | Masami Hiramatsu <mhiramat@redhat.com> | 2009-08-27 13:23:18 -0400 |
---|---|---|
committer | Frederic Weisbecker <fweisbec@gmail.com> | 2009-08-30 03:08:26 +0200 |
commit | 8f270083587a4cb70fa14f0e2fd698eb08a4dd07 (patch) | |
tree | d6f736b37864a4da7dcc19f16a257f23d10be1df /kernel/notifier.c | |
parent | 62c9295f9dd250ea1bb2c8078642a275a9ce82f8 (diff) | |
download | linux-stable-8f270083587a4cb70fa14f0e2fd698eb08a4dd07.tar.gz linux-stable-8f270083587a4cb70fa14f0e2fd698eb08a4dd07.tar.bz2 linux-stable-8f270083587a4cb70fa14f0e2fd698eb08a4dd07.zip |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/notifier.c b/kernel/notifier.c index 61d5aa5eced3..acd24e7643eb 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 = { |