aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/events/uprobes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/events/uprobes.c b/kernel/events/uprobes.c
index 3ccdb29ee8d6..ec78152e32e9 100644
--- a/kernel/events/uprobes.c
+++ b/kernel/events/uprobes.c
@@ -693,7 +693,7 @@ install_breakpoint(struct uprobe *uprobe, struct mm_struct *mm,
693 return ret; 693 return ret;
694 694
695 if (is_swbp_insn((uprobe_opcode_t *)uprobe->arch.insn)) 695 if (is_swbp_insn((uprobe_opcode_t *)uprobe->arch.insn))
696 return -EEXIST; 696 return -ENOTSUPP;
697 697
698 ret = arch_uprobe_analyze_insn(&uprobe->arch, mm, addr); 698 ret = arch_uprobe_analyze_insn(&uprobe->arch, mm, addr);
699 if (ret) 699 if (ret)