commit | 5a4f7c66be981c6b5f44a4d66a14ea6ac9b7b6b0 | [log] [tgz] |
---|---|---|
author | Paul Mundt <lethal@linux-sh.org> | Tue Nov 20 18:08:06 2007 +0900 |
committer | Paul Mundt <lethal@linux-sh.org> | Mon Jan 28 13:18:50 2008 +0900 |
tree | a605424a32ce11d189a1aa1385c3fc22f972449f | |
parent | 811d50cb43eb730cc325df0c6913556e25739797 [diff] [blame] |
sh: Share bug/debug traps across _32 and _64. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
diff --git a/include/asm-sh/ptrace.h b/include/asm-sh/ptrace.h index a83a7b4..8d6c92b 100644 --- a/include/asm-sh/ptrace.h +++ b/include/asm-sh/ptrace.h
@@ -95,7 +95,7 @@ #include <asm/addrspace.h> #define user_mode(regs) (((regs)->sr & 0x40000000)==0) -#define instruction_pointer(regs) ((regs)->pc) +#define instruction_pointer(regs) ((unsigned long)(regs)->pc) extern void show_regs(struct pt_regs *);