From 89a75eb6a5a6dc345a718ffbd119651222686026 Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Mon, 30 Nov 2009 16:29:29 -0500 Subject: uprobes ppc64: UPROBES_DEBUG build fix * runtime/uprobes/uprobes_ppc.c (calc_offset): Fix printk types. --- runtime/uprobes/uprobes_ppc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'runtime') diff --git a/runtime/uprobes/uprobes_ppc.c b/runtime/uprobes/uprobes_ppc.c index 819ac73d..b625b879 100644 --- a/runtime/uprobes/uprobes_ppc.c +++ b/runtime/uprobes/uprobes_ppc.c @@ -89,9 +89,9 @@ static inline void calc_offset(struct uprobe_probept *ppt, } #ifdef UPROBES_DEBUG printk (KERN_ERR "ppt->vaddr=%p, regs->nip=%p, offset=%ld\n", - ppt->vaddr, regs->nip, offset); + (void*)(long)ppt->vaddr, (void*)(long)regs->nip, (long)offset); if (insn & 1) - printk (KERN_ERR "regs->link=%p \n", regs->link); + printk (KERN_ERR "regs->link=%p \n", (void*)(long)regs->link); #endif return; } -- cgit