diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2009-11-30 16:29:29 -0500 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2009-12-01 11:57:33 -0500 |
commit | 89a75eb6a5a6dc345a718ffbd119651222686026 (patch) | |
tree | 13d09d43811771aad800843a3940ffb74c1d0674 /runtime/uprobes/uprobes_ppc.c | |
parent | 98c783852039061db8c1611742660aaded0eab77 (diff) | |
download | systemtap-steved-89a75eb6a5a6dc345a718ffbd119651222686026.tar.gz systemtap-steved-89a75eb6a5a6dc345a718ffbd119651222686026.tar.xz systemtap-steved-89a75eb6a5a6dc345a718ffbd119651222686026.zip |
uprobes ppc64: UPROBES_DEBUG build fix
* runtime/uprobes/uprobes_ppc.c (calc_offset): Fix printk types.
Diffstat (limited to 'runtime/uprobes/uprobes_ppc.c')
-rw-r--r-- | runtime/uprobes/uprobes_ppc.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |