author: Jeff Dike <jdike@addtoit.com> 2006-09-25 23:32:59 -0700
committer: Linus Torvalds <torvalds@g5.osdl.org> 2006-09-26 08:49:05 -0700
commit: 13c06be399902c9ebda08e092edb1614bb4a3761
parent: c5c6ba4e08ab9c9e390a0f3a7d9a5c332f5cc6ef
Commit Summary:
Diffstat:
1 file changed, 1 insertion, 2 deletions
diff --git a/arch/um/os-Linux/skas/process.c b/arch/um/os-Linux/skas/process.c
index 7baf90fda58b..50418a5e7134 100644
--- a/arch/um/os-Linux/skas/process.c
+++ b/arch/um/os-Linux/skas/process.c
@@ -8,7 +8,6 @@
#include <unistd.h>
#include <errno.h>
#include <signal.h>
-#include <setjmp.h>
#include <sched.h>
#include "ptrace_user.h"
#include <sys/wait.h>
@@ -470,7 +469,7 @@ void thread_wait(void *sw, void *fb)
*switch_buf = &buf;
fork_buf = fb;
if(UML_SETJMP(&buf) == 0)
- siglongjmp(*fork_buf, INIT_JMP_REMOVE_SIGSTACK);
+ UML_LONGJMP(fork_buf, INIT_JMP_REMOVE_SIGSTACK);
}
void switch_threads(void *me, void *next)