diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | runtime/uprobes/uprobes_ppc64.h | 2 | ||||
-rw-r--r-- | runtime/uprobes/uprobes_s390.c | 3 |
3 files changed, 8 insertions, 2 deletions
@@ -1,3 +1,8 @@ +2007-10-19 Jim Keniston <jkenisto@us.ibm.com> + + * runtime/uprobes/uprobes_ppc64.h,uprobes_s390.c: Fixed 10/16 + update to arch_validate_probed_insn() decl. + 2007-10-19 Masami Hiramatsu <mhiramat@redhat.com> * staplog.c: Cleanup code and remove end-of-line spaces. 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"); |