]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blob - arch/sh/include/asm/ptrace_64.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[mirror_ubuntu-eoan-kernel.git] / arch / sh / include / asm / ptrace_64.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __ASM_SH_PTRACE_64_H
3 #define __ASM_SH_PTRACE_64_H
4
5 #include <uapi/asm/ptrace_64.h>
6
7
8 #define MAX_REG_OFFSET offsetof(struct pt_regs, tregs[7])
9 static inline long regs_return_value(struct pt_regs *regs)
10 {
11 return regs->regs[3];
12 }
13
14 #endif /* __ASM_SH_PTRACE_64_H */