]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - arch/um/include/shared/sysdep-x86_64/archsetjmp.h
x86, um: trim the junk from uml ptrace-*.h
[mirror_ubuntu-bionic-kernel.git] / arch / um / include / shared / sysdep-x86_64 / archsetjmp.h
CommitLineData
13c06be3 1/*
58862699 2 * arch/um/include/sysdep-x86_64/archsetjmp.h
13c06be3
JD
3 */
4
5#ifndef _KLIBC_ARCHSETJMP_H
6#define _KLIBC_ARCHSETJMP_H
7
8struct __jmp_buf {
9 unsigned long __rbx;
10 unsigned long __rsp;
11 unsigned long __rbp;
12 unsigned long __r12;
13 unsigned long __r13;
14 unsigned long __r14;
15 unsigned long __r15;
16 unsigned long __rip;
17};
18
19typedef struct __jmp_buf jmp_buf[1];
20
3c917350
JD
21#define JB_IP __rip
22#define JB_SP __rsp
23
13c06be3 24#endif /* _SETJMP_H */