aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/i386/kernel/kprobes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/i386/kernel/kprobes.c b/arch/i386/kernel/kprobes.c
index 38806f427849..395a9a6dff88 100644
--- a/arch/i386/kernel/kprobes.c
+++ b/arch/i386/kernel/kprobes.c
@@ -607,7 +607,7 @@ int __kprobes kprobe_exceptions_notify(struct notifier_block *self,
607 struct die_args *args = (struct die_args *)data; 607 struct die_args *args = (struct die_args *)data;
608 int ret = NOTIFY_DONE; 608 int ret = NOTIFY_DONE;
609 609
610 if (args->regs && user_mode(args->regs)) 610 if (args->regs && user_mode_vm(args->regs))
611 return ret; 611 return ret;
612 612
613 switch (val) { 613 switch (val) {