]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/um/include/longjmp.h
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
[linux-2.6-omap-h63xx.git] / arch / um / include / longjmp.h
index 1b5c0131a12ec7b321983e2bd5b1e23c93828399..e860bc5848e0aaff10b382f185aed8b5a4acd81e 100644 (file)
@@ -1,15 +1,19 @@
 #ifndef __UML_LONGJMP_H
 #define __UML_LONGJMP_H
 
-#include <setjmp.h>
+#include "sysdep/archsetjmp.h"
 #include "os.h"
 
+extern int setjmp(jmp_buf);
+extern void longjmp(jmp_buf, int);
+
 #define UML_LONGJMP(buf, val) do { \
        longjmp(*buf, val);     \
 } while(0)
 
 #define UML_SETJMP(buf) ({ \
-       int n, enable;     \
+       int n;     \
+       volatile int enable;    \
        enable = get_signals(); \
        n = setjmp(*buf); \
        if(n != 0) \