xref: /openbmc/linux/arch/sh/include/asm/ptrace_32.h (revision a2cce7a9)
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