diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/um/include/longjmp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/um/include/longjmp.h b/arch/um/include/longjmp.h index 50f5df18e46d..018b3819ab0b 100644 --- a/arch/um/include/longjmp.h +++ b/arch/um/include/longjmp.h | |||
@@ -5,13 +5,13 @@ | |||
5 | #include "os.h" | 5 | #include "os.h" |
6 | 6 | ||
7 | #define UML_SIGLONGJMP(buf, val) do { \ | 7 | #define UML_SIGLONGJMP(buf, val) do { \ |
8 | siglongjmp(*buf, val); \ | 8 | longjmp(*buf, val); \ |
9 | } while(0) | 9 | } while(0) |
10 | 10 | ||
11 | #define UML_SIGSETJMP(buf, enable) ({ \ | 11 | #define UML_SIGSETJMP(buf, enable) ({ \ |
12 | int n; \ | 12 | int n; \ |
13 | enable = get_signals(); \ | 13 | enable = get_signals(); \ |
14 | n = sigsetjmp(*buf, 1); \ | 14 | n = setjmp(*buf); \ |
15 | if(n != 0) \ | 15 | if(n != 0) \ |
16 | set_signals(enable); \ | 16 | set_signals(enable); \ |
17 | n; }) | 17 | n; }) |