diff options
Diffstat (limited to 'arch/ia64')
-rw-r--r-- | arch/ia64/kernel/kprobes.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/ia64/kernel/kprobes.c b/arch/ia64/kernel/kprobes.c index 50ae8c7d453d..45b8479c9864 100644 --- a/arch/ia64/kernel/kprobes.c +++ b/arch/ia64/kernel/kprobes.c | |||
@@ -740,6 +740,9 @@ int __kprobes kprobe_exceptions_notify(struct notifier_block *self, | |||
740 | struct die_args *args = (struct die_args *)data; | 740 | struct die_args *args = (struct die_args *)data; |
741 | int ret = NOTIFY_DONE; | 741 | int ret = NOTIFY_DONE; |
742 | 742 | ||
743 | if (args->regs && user_mode(args->regs)) | ||
744 | return ret; | ||
745 | |||
743 | switch(val) { | 746 | switch(val) { |
744 | case DIE_BREAK: | 747 | case DIE_BREAK: |
745 | /* err is break number from ia64_bad_break() */ | 748 | /* err is break number from ia64_bad_break() */ |