[PATCH] uml: move libc-dependent code from trap_user.c
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / arch / um / os-Linux / trap.c
blob6e7841c23d265d71f609f9b2ca36b67e1a9b8de9
1 /*
2 * Copyright (C) 2000, 2001, 2002 Jeff Dike (jdike@karaya.com)
3 * Licensed under the GPL
4 */
6 #include <setjmp.h>
7 #include <signal.h>
8 #include "kern_util.h"
9 #include "user_util.h"
10 #include "os.h"
12 void do_longjmp(void *b, int val)
14 sigjmp_buf *buf = b;
16 siglongjmp(*buf, val);