aboutsummaryrefslogtreecommitdiff
path: root/include/asm-sh64/ptrace.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-sh64/ptrace.h')
-rw-r--r--include/asm-sh64/ptrace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-sh64/ptrace.h b/include/asm-sh64/ptrace.h
index 56190f52158..a6d4da519db 100644
--- a/include/asm-sh64/ptrace.h
+++ b/include/asm-sh64/ptrace.h
@@ -28,7 +28,7 @@ struct pt_regs {
#ifdef __KERNEL__
#define user_mode(regs) (((regs)->sr & 0x40000000)==0)
#define instruction_pointer(regs) ((regs)->pc)
-#define profile_pc(regs) instruction_pointer(regs)
+#define profile_pc(regs) ((unsigned long)instruction_pointer(regs))
extern void show_regs(struct pt_regs *);
#endif