diff options
author | Jeff Dike <jdike@addtoit.com> | 2006-07-14 00:24:02 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-07-14 21:53:52 -0700 |
commit | a5df0d1a2c0f7dbd135d978d02daf2d99e62ff7a (patch) | |
tree | 89824d59364a431d332ce68d548068db4616e68c /arch/um/include | |
parent | 8477b55ba11a49515b26573a90414b718179c908 (diff) | |
download | blackbird-op-linux-a5df0d1a2c0f7dbd135d978d02daf2d99e62ff7a.tar.gz blackbird-op-linux-a5df0d1a2c0f7dbd135d978d02daf2d99e62ff7a.zip |
[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')
-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 8e7053013f7b..1b5c0131a12e 100644 --- a/arch/um/include/longjmp.h +++ b/arch/um/include/longjmp.h @@ -8,8 +8,8 @@ longjmp(*buf, val); \ } while(0) -#define UML_SETJMP(buf, enable) ({ \ - int n; \ +#define UML_SETJMP(buf) ({ \ + int n, enable; \ enable = get_signals(); \ n = setjmp(*buf); \ if(n != 0) \ |