[PATCH] uml: change sigjmp_buf to jmp_buf

Clean up the jmpbuf code.  Since softints, we no longer use sig_setjmp, so
the UML_SIGSETJMP wrapper now has a misleading name.  Also, I forgot to
change the buffers from sigjmp_buf to jmp_buf.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
Jeff Dike
2006-04-18 22:21:41 -07:00
committed by Linus Torvalds
parent 4127272c38
commit ad28e02978
6 changed files with 27 additions and 27 deletions

View File

@@ -266,11 +266,11 @@ void init_new_thread_signals(int altstack)
int run_kernel_thread(int (*fn)(void *), void *arg, void **jmp_ptr)
{
sigjmp_buf buf;
jmp_buf buf;
int n, enable;
*jmp_ptr = &buf;
n = UML_SIGSETJMP(&buf, enable);
n = UML_SETJMP(&buf, enable);
if(n != 0)
return(n);
(*fn)(arg);