Loading...
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
10typedef long jmp_buf[JMP_BUF_LEN];
11
12extern int setjmp(jmp_buf env) __attribute__((returns_twice));
13extern void longjmp(jmp_buf env, int val) __attribute__((noreturn));
14
15#endif /* _ASM_POWERPC_SETJMP_H */
1/*
2 * Copyright © 2008 Michael Neuling IBM Corporation
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version
7 * 2 of the License, or (at your option) any later version.
8 *
9 */
10#ifndef _ASM_POWERPC_SETJMP_H
11#define _ASM_POWERPC_SETJMP_H
12
13#define JMP_BUF_LEN 23
14
15extern long setjmp(long *);
16extern void longjmp(long *, long);
17
18#endif /* _ASM_POWERPC_SETJMP_H */