summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/setjmp.h
blob: a9eccf7f632fa2a9cfbee4abf651d263139587b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* SPDX-License-Identifier: GPL-2.0+ */
/*
 * (C) Copyright 2017 Theobroma Systems Design und Consulting GmbH
 * (C) Copyright 2016 Alexander Graf <agraf@suse.de>
 */

#ifndef _ASM_SETJMP_H_
#define _ASM_SETJMP_H_	1

#include <asm-generic/int-ll64.h>

struct jmp_buf_data {
#if defined(__aarch64__)
	u64  regs[13];
#else
	u32  regs[10];  /* r4-r9, sl, fp, sp, lr */
#endif
};

#endif /* _ASM_SETJMP_H_ */