summaryrefslogtreecommitdiffstats
path: root/include/asm-parisc/ptrace.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-parisc/ptrace.h')
-rw-r--r--include/asm-parisc/ptrace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-parisc/ptrace.h b/include/asm-parisc/ptrace.h
index 3f428aa..93f990e 100644
--- a/include/asm-parisc/ptrace.h
+++ b/include/asm-parisc/ptrace.h
@@ -49,7 +49,7 @@ struct pt_regs {
#define user_mode(regs) (((regs)->iaoq[0] & 3) ? 1 : 0)
#define user_space(regs) (((regs)->iasq[1] != 0) ? 1 : 0)
#define instruction_pointer(regs) ((regs)->iaoq[0] & ~3)
-#define profile_pc(regs) instruction_pointer(regs)
+unsigned long profile_pc(struct pt_regs *);
extern void show_regs(struct pt_regs *);
#endif
OpenPOWER on IntegriCloud