X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-sh64%2Fptrace.h;h=a6d4da519db6238ff250a570ed5eb6285be4b2cc;hb=a2f44b27303a5353859d77a3e96a1d3f33f56ab7;hp=56190f5215872af48c72c30e78a59e9169fe13db;hpb=134734d875a0a48d994ef20b9905209b4b8b6f75;p=linux-2.6.git diff --git a/include/asm-sh64/ptrace.h b/include/asm-sh64/ptrace.h index 56190f521..a6d4da519 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