diff options
author | Paul Mundt <lethal@linux-sh.org> | 2006-09-12 14:36:46 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2006-09-12 14:36:46 +0900 |
commit | 21264136ce7c3c7032c42e7c2440f5d89039ca5a (patch) | |
tree | 99f0552df91c45c41fba68caad7cff270b54beda /include/asm-sh64/ptrace.h | |
parent | ccdfc526a92c5ebb549a7de06adca3fd54f03c7e (diff) | |
download | kernel_samsung_smdk4412-21264136ce7c3c7032c42e7c2440f5d89039ca5a.zip kernel_samsung_smdk4412-21264136ce7c3c7032c42e7c2440f5d89039ca5a.tar.gz kernel_samsung_smdk4412-21264136ce7c3c7032c42e7c2440f5d89039ca5a.tar.bz2 |
sh64: Trivial build fixes.
While we've been sorting out the toolchain fiasco, some of
the code has suffered a bit of bitrot. Building with GCC4
also brings up some more build warnings. Trivial fixes for
both issues.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include/asm-sh64/ptrace.h')
-rw-r--r-- | include/asm-sh64/ptrace.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-sh64/ptrace.h b/include/asm-sh64/ptrace.h index 56190f5..a6d4da5 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 |