ptrace_64.h 273 B

12345678910111213
  1. #ifndef __ASM_SH_PTRACE_64_H
  2. #define __ASM_SH_PTRACE_64_H
  3. #include <uapi/asm/ptrace_64.h>
  4. #define MAX_REG_OFFSET offsetof(struct pt_regs, tregs[7])
  5. static inline long regs_return_value(struct pt_regs *regs)
  6. {
  7. return regs->regs[3];
  8. }
  9. #endif /* __ASM_SH_PTRACE_64_H */