]>
Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
da28c597 PM |
2 | #ifndef __ASM_SH_PTRACE_64_H |
3 | #define __ASM_SH_PTRACE_64_H | |
4 | ||
0a9426df | 5 | #include <uapi/asm/ptrace_64.h> |
da28c597 | 6 | |
da28c597 PM |
7 | |
8 | #define MAX_REG_OFFSET offsetof(struct pt_regs, tregs[7]) | |
d7e7528b EP |
9 | static inline long regs_return_value(struct pt_regs *regs) |
10 | { | |
11 | return regs->regs[3]; | |
12 | } | |
da28c597 | 13 | |
da28c597 | 14 | #endif /* __ASM_SH_PTRACE_64_H */ |