diff options
author | kenistoj <kenistoj> | 2007-10-19 20:28:16 +0000 |
---|---|---|
committer | kenistoj <kenistoj> | 2007-10-19 20:28:16 +0000 |
commit | f994dd4997067ca69b3b10ff8fa1547987aed585 (patch) | |
tree | 90080b050ab62e79e7d111cc764a75dba91ad485 | |
parent | 982b7e1512c618617f56e276a86519c8c45a131b (diff) | |
download | systemtap-steved-f994dd4997067ca69b3b10ff8fa1547987aed585.tar.gz systemtap-steved-f994dd4997067ca69b3b10ff8fa1547987aed585.tar.xz systemtap-steved-f994dd4997067ca69b3b10ff8fa1547987aed585.zip |
Fixed 10/16 update to arch_validate_probed_insn() decls.
-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"); |