Linux 6.13-rc4
[linux.git] / arch / sh / include / asm / ptrace_32.h
blob5f37ad7c60652b9fb05aa114428d7289679891f4
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __ASM_SH_PTRACE_32_H
3 #define __ASM_SH_PTRACE_32_H
5 #include <uapi/asm/ptrace_32.h>
8 #define MAX_REG_OFFSET offsetof(struct pt_regs, tra)
9 static inline long regs_return_value(struct pt_regs *regs)
11 return regs->regs[0];
14 #endif /* __ASM_SH_PTRACE_32_H */