]>
Commit | Line | Data |
---|---|---|
da28c597 PM |
1 | #ifndef __ASM_SH_PTRACE_32_H |
2 | #define __ASM_SH_PTRACE_32_H | |
3 | ||
0a9426df | 4 | #include <uapi/asm/ptrace_32.h> |
da28c597 | 5 | |
da28c597 PM |
6 | |
7 | #define MAX_REG_OFFSET offsetof(struct pt_regs, tra) | |
d7e7528b EP |
8 | static inline long regs_return_value(struct pt_regs *regs) |
9 | { | |
10 | return regs->regs[0]; | |
11 | } | |
da28c597 | 12 | |
da28c597 | 13 | #endif /* __ASM_SH_PTRACE_32_H */ |