2 * Copyright © 2008 Michael Neuling IBM Corporation
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.
10 #ifndef _ASM_POWERPC_SETJMP_H
11 #define _ASM_POWERPC_SETJMP_H
13 #define JMP_BUF_LEN 23
15 typedef long jmp_buf[JMP_BUF_LEN];
17 extern int setjmp(jmp_buf env) __attribute__((returns_twice));
18 extern void longjmp(jmp_buf env, int val) __attribute__((noreturn));
20 #endif /* _ASM_POWERPC_SETJMP_H */