aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/include/longjmp.h
diff options
context:
space:
mode:
authorJeff Dike <jdike@addtoit.com>2006-07-14 03:24:02 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-07-15 00:53:52 -0400
commita5df0d1a2c0f7dbd135d978d02daf2d99e62ff7a (patch)
tree89824d59364a431d332ce68d548068db4616e68c /arch/um/include/longjmp.h
parent8477b55ba11a49515b26573a90414b718179c908 (diff)
[PATCH] uml: tidy longjmp macro
The UML_SETJMP macro was requiring its users to pass in a argument which it could supply itself, since it wasn't used outside that invocation of the macro. Signed-off-by: Jeff Dike <jdike@addtoit.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/um/include/longjmp.h')
-rw-r--r--arch/um/include/longjmp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/um/include/longjmp.h b/arch/um/include/longjmp.h
index 8e7053013f7b..1b5c0131a12e 100644
--- a/arch/um/include/longjmp.h
+++ b/arch/um/include/longjmp.h
@@ -8,8 +8,8 @@
8 longjmp(*buf, val); \ 8 longjmp(*buf, val); \
9} while(0) 9} while(0)
10 10
11#define UML_SETJMP(buf, enable) ({ \ 11#define UML_SETJMP(buf) ({ \
12 int n; \ 12 int n, enable; \
13 enable = get_signals(); \ 13 enable = get_signals(); \
14 n = setjmp(*buf); \ 14 n = setjmp(*buf); \
15 if(n != 0) \ 15 if(n != 0) \