diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/um/include/longjmp.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/um/include/longjmp.h b/arch/um/include/longjmp.h index e93c6d3e893b..e860bc5848e0 100644 --- a/arch/um/include/longjmp.h +++ b/arch/um/include/longjmp.h | |||
@@ -12,7 +12,8 @@ extern void longjmp(jmp_buf, int); | |||
12 | } while(0) | 12 | } while(0) |
13 | 13 | ||
14 | #define UML_SETJMP(buf) ({ \ | 14 | #define UML_SETJMP(buf) ({ \ |
15 | int n, enable; \ | 15 | int n; \ |
16 | volatile int enable; \ | ||
16 | enable = get_signals(); \ | 17 | enable = get_signals(); \ |
17 | n = setjmp(*buf); \ | 18 | n = setjmp(*buf); \ |
18 | if(n != 0) \ | 19 | if(n != 0) \ |