summaryrefslogtreecommitdiffstats
path: root/include/linux/uprobes.h
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2012-08-08 18:07:03 +0200
committerOleg Nesterov <oleg@redhat.com>2012-08-28 18:21:20 +0200
commitded86e7c8fc4404414c4700010c9962ea8bd083a (patch)
tree39528d3fd485701e239fed27e2f646c5fd0d53d5 /include/linux/uprobes.h
parent61559a8165da2b6bab7621ac36379c6280efacb6 (diff)
downloadlinux-ded86e7c8fc4404414c4700010c9962ea8bd083a.tar.gz
linux-ded86e7c8fc4404414c4700010c9962ea8bd083a.tar.bz2
linux-ded86e7c8fc4404414c4700010c9962ea8bd083a.zip
uprobes: Remove "verify" argument from set_orig_insn()
Nobody does set_orig_insn(verify => false), and I think nobody will. Remove this argument. IIUC set_orig_insn(verify => false) was needed to single-step without xol area. Signed-off-by: Oleg Nesterov <oleg@redhat.com> Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Diffstat (limited to 'include/linux/uprobes.h')
-rw-r--r--include/linux/uprobes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/uprobes.h b/include/linux/uprobes.h
index 30297f95c8af..6d4fe79a1a6a 100644
--- a/include/linux/uprobes.h
+++ b/include/linux/uprobes.h
@@ -102,7 +102,7 @@ struct uprobes_state {
};
extern int __weak set_swbp(struct arch_uprobe *aup, struct mm_struct *mm, unsigned long vaddr);
-extern int __weak set_orig_insn(struct arch_uprobe *aup, struct mm_struct *mm, unsigned long vaddr, bool verify);
+extern int __weak set_orig_insn(struct arch_uprobe *aup, struct mm_struct *mm, unsigned long vaddr);
extern bool __weak is_swbp_insn(uprobe_opcode_t *insn);
extern int uprobe_register(struct inode *inode, loff_t offset, struct uprobe_consumer *uc);
extern void uprobe_unregister(struct inode *inode, loff_t offset, struct uprobe_consumer *uc);