License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[linux-block.git] / arch / x86 / um / shared / sysdep / archsetjmp_64.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
13c06be3 2/*
58862699 3 * arch/um/include/sysdep-x86_64/archsetjmp.h
13c06be3
JD
4 */
5
6#ifndef _KLIBC_ARCHSETJMP_H
7#define _KLIBC_ARCHSETJMP_H
8
9struct __jmp_buf {
10 unsigned long __rbx;
11 unsigned long __rsp;
12 unsigned long __rbp;
13 unsigned long __r12;
14 unsigned long __r13;
15 unsigned long __r14;
16 unsigned long __r15;
17 unsigned long __rip;
18};
19
20typedef struct __jmp_buf jmp_buf[1];
21
3c917350
JD
22#define JB_IP __rip
23#define JB_SP __rsp
24
13c06be3 25#endif /* _SETJMP_H */