blob: 97f4b5660f2cdc62d112183e2e600c4456b6476e [file] [log] [blame]
Paul Mundtda28c592010-06-14 16:02:47 +09001#ifndef __ASM_SH_PTRACE_64_H
2#define __ASM_SH_PTRACE_64_H
3
David Howells0a9426d2012-10-09 09:47:37 +01004#include <uapi/asm/ptrace_64.h>
Paul Mundtda28c592010-06-14 16:02:47 +09005
Paul Mundtda28c592010-06-14 16:02:47 +09006
7#define MAX_REG_OFFSET offsetof(struct pt_regs, tregs[7])
Eric Parisd7e75282012-01-03 14:23:06 -05008static inline long regs_return_value(struct pt_regs *regs)
9{
10 return regs->regs[3];
11}
Paul Mundtda28c592010-06-14 16:02:47 +090012
Paul Mundtda28c592010-06-14 16:02:47 +090013#endif /* __ASM_SH_PTRACE_64_H */