From f994dd4997067ca69b3b10ff8fa1547987aed585 Mon Sep 17 00:00:00 2001 From: kenistoj Date: Fri, 19 Oct 2007 20:28:16 +0000 Subject: Fixed 10/16 update to arch_validate_probed_insn() decls. --- runtime/uprobes/uprobes_ppc64.h | 2 +- runtime/uprobes/uprobes_s390.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'runtime') 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"); -- cgit