2019-05-27 06:55:01 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
2008-01-18 04:50:30 +00:00
|
|
|
/*
|
|
|
|
* Copyright © 2008 Michael Neuling IBM Corporation
|
|
|
|
*/
|
|
|
|
#ifndef _ASM_POWERPC_SETJMP_H
|
|
|
|
#define _ASM_POWERPC_SETJMP_H
|
|
|
|
|
|
|
|
#define JMP_BUF_LEN 23
|
|
|
|
|
2020-03-30 08:03:56 +00:00
|
|
|
typedef long jmp_buf[JMP_BUF_LEN];
|
|
|
|
|
|
|
|
extern int setjmp(jmp_buf env) __attribute__((returns_twice));
|
|
|
|
extern void longjmp(jmp_buf env, int val) __attribute__((noreturn));
|
2008-01-18 04:50:30 +00:00
|
|
|
|
|
|
|
#endif /* _ASM_POWERPC_SETJMP_H */
|