diff options
Diffstat (limited to 'include/asm-sh/ptrace.h')
-rw-r--r-- | include/asm-sh/ptrace.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-sh/ptrace.h b/include/asm-sh/ptrace.h index a83a7b45ba6f..8d6c92b3e770 100644 --- a/include/asm-sh/ptrace.h +++ b/include/asm-sh/ptrace.h | |||
@@ -95,7 +95,7 @@ struct pt_dspregs { | |||
95 | #include <asm/addrspace.h> | 95 | #include <asm/addrspace.h> |
96 | 96 | ||
97 | #define user_mode(regs) (((regs)->sr & 0x40000000)==0) | 97 | #define user_mode(regs) (((regs)->sr & 0x40000000)==0) |
98 | #define instruction_pointer(regs) ((regs)->pc) | 98 | #define instruction_pointer(regs) ((unsigned long)(regs)->pc) |
99 | 99 | ||
100 | extern void show_regs(struct pt_regs *); | 100 | extern void show_regs(struct pt_regs *); |
101 | 101 | ||