summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorkenistoj <kenistoj>2007-10-19 20:28:16 +0000
committerkenistoj <kenistoj>2007-10-19 20:28:16 +0000
commitf994dd4997067ca69b3b10ff8fa1547987aed585 (patch)
tree90080b050ab62e79e7d111cc764a75dba91ad485 /runtime
parent982b7e1512c618617f56e276a86519c8c45a131b (diff)
downloadsystemtap-steved-f994dd4997067ca69b3b10ff8fa1547987aed585.tar.gz
systemtap-steved-f994dd4997067ca69b3b10ff8fa1547987aed585.tar.xz
systemtap-steved-f994dd4997067ca69b3b10ff8fa1547987aed585.zip
Fixed 10/16 update to arch_validate_probed_insn() decls.
Diffstat (limited to 'runtime')
-rw-r--r--runtime/uprobes/uprobes_ppc64.h2
-rw-r--r--runtime/uprobes/uprobes_s390.c3
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");