diff options
Diffstat (limited to 'runtime/uprobes')
-rw-r--r-- | runtime/uprobes/uprobes_ppc64.h | 2 | ||||
-rw-r--r-- | runtime/uprobes/uprobes_s390.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/runtime/uprobes/uprobes_ppc64.h b/runtime/uprobes/uprobes_ppc64.h index 16e11975..9f56119a 100644 --- a/runtime/uprobes/uprobes_ppc64.h +++ b/runtime/uprobes/uprobes_ppc64.h @@ -47,7 +47,7 @@ struct uprobe_task; struct task_struct; static inline int arch_validate_probed_insn(struct uprobe_probept *ppt, - struct task_struct *tsk); + struct task_struct *tsk) { return 0; } diff --git a/runtime/uprobes/uprobes_s390.c b/runtime/uprobes/uprobes_s390.c index f97dd408..b01286e6 100644 --- a/runtime/uprobes/uprobes_s390.c +++ b/runtime/uprobes/uprobes_s390.c @@ -48,7 +48,8 @@ static int prohibited_opcode(uprobe_opcode_t *instruction) } static -int arch_validate_probed_insn(struct uprobe_probept *ppt) +int arch_validate_probed_insn(struct uprobe_probept *ppt, + struct task_struct *tsk) { if (ppt->vaddr & 0x01) { printk("Attempt to register uprobe at an unaligned address\n"); |