xref: /linux/arch/sh/include/asm/ptrace_32.h (revision b6ebbac51bedf9e98e837688bc838f400196da5e)
1 #ifndef __ASM_SH_PTRACE_32_H
2 #define __ASM_SH_PTRACE_32_H
3 
4 #include <uapi/asm/ptrace_32.h>
5 
6 
7 #define MAX_REG_OFFSET		offsetof(struct pt_regs, tra)
8 static inline long regs_return_value(struct pt_regs *regs)
9 {
10 	return regs->regs[0];
11 }
12 
13 #endif /* __ASM_SH_PTRACE_32_H */
14