diff options
Diffstat (limited to 'include/linux/uprobes.h')
-rw-r--r-- | include/linux/uprobes.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/linux/uprobes.h b/include/linux/uprobes.h index 838fb312926a..58699182e9a7 100644 --- a/include/linux/uprobes.h +++ b/include/linux/uprobes.h | |||
@@ -52,20 +52,20 @@ struct uprobe_consumer { | |||
52 | }; | 52 | }; |
53 | 53 | ||
54 | #ifdef CONFIG_UPROBES | 54 | #ifdef CONFIG_UPROBES |
55 | extern int __weak set_bkpt(struct mm_struct *mm, struct arch_uprobe *auprobe, unsigned long vaddr); | 55 | extern int __weak set_bkpt(struct arch_uprobe *aup, struct mm_struct *mm, unsigned long vaddr); |
56 | extern int __weak set_orig_insn(struct mm_struct *mm, struct arch_uprobe *auprobe, unsigned long vaddr, bool verify); | 56 | extern int __weak set_orig_insn(struct arch_uprobe *aup, struct mm_struct *mm, unsigned long vaddr, bool verify); |
57 | extern bool __weak is_bkpt_insn(uprobe_opcode_t *insn); | 57 | extern bool __weak is_bkpt_insn(uprobe_opcode_t *insn); |
58 | extern int uprobe_register(struct inode *inode, loff_t offset, struct uprobe_consumer *consumer); | 58 | extern int uprobe_register(struct inode *inode, loff_t offset, struct uprobe_consumer *uc); |
59 | extern void uprobe_unregister(struct inode *inode, loff_t offset, struct uprobe_consumer *consumer); | 59 | extern void uprobe_unregister(struct inode *inode, loff_t offset, struct uprobe_consumer *uc); |
60 | extern int uprobe_mmap(struct vm_area_struct *vma); | 60 | extern int uprobe_mmap(struct vm_area_struct *vma); |
61 | #else /* CONFIG_UPROBES is not defined */ | 61 | #else /* CONFIG_UPROBES is not defined */ |
62 | static inline int | 62 | static inline int |
63 | uprobe_register(struct inode *inode, loff_t offset, struct uprobe_consumer *consumer) | 63 | uprobe_register(struct inode *inode, loff_t offset, struct uprobe_consumer *uc) |
64 | { | 64 | { |
65 | return -ENOSYS; | 65 | return -ENOSYS; |
66 | } | 66 | } |
67 | static inline void | 67 | static inline void |
68 | uprobe_unregister(struct inode *inode, loff_t offset, struct uprobe_consumer *consumer) | 68 | uprobe_unregister(struct inode *inode, loff_t offset, struct uprobe_consumer *uc) |
69 | { | 69 | { |
70 | } | 70 | } |
71 | static inline int uprobe_mmap(struct vm_area_struct *vma) | 71 | static inline int uprobe_mmap(struct vm_area_struct *vma) |