[PATCH] x86/PAE: Fix pte_clear for the >4GB RAM case
[linux-2.6/mini2440.git] / arch / um / include / longjmp.h
blob8e7053013f7b7d11d218603487abf8c9dcd96294
1 #ifndef __UML_LONGJMP_H
2 #define __UML_LONGJMP_H
4 #include <setjmp.h>
5 #include "os.h"
7 #define UML_LONGJMP(buf, val) do { \
8 longjmp(*buf, val); \
9 } while(0)
11 #define UML_SETJMP(buf, enable) ({ \
12 int n; \
13 enable = get_signals(); \
14 n = setjmp(*buf); \
15 if(n != 0) \
16 set_signals(enable); \
17 n; })
19 #endif