Merge tag 'nios2-v5.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/lftan...
[linux-2.6-microblaze.git] / arch / powerpc / include / asm / setjmp.h
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3  * Copyright © 2008 Michael Neuling IBM Corporation
4  */
5 #ifndef _ASM_POWERPC_SETJMP_H
6 #define _ASM_POWERPC_SETJMP_H
7
8 #define JMP_BUF_LEN    23
9
10 typedef long jmp_buf[JMP_BUF_LEN];
11
12 extern int setjmp(jmp_buf env) __attribute__((returns_twice));
13 extern void longjmp(jmp_buf env, int val) __attribute__((noreturn));
14
15 #endif /* _ASM_POWERPC_SETJMP_H */