ea2ba7dc3d
The serial UML OS-abstraction layer patch (um/kernel dir). This moves all systemcalls from trap_user.c file under os-Linux dir Signed-off-by: Gennady Sharapov <Gennady.V.Sharapov@intel.com> Signed-off-by: Jeff Dike <jdike@addtoit.com> Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 lines
285 B
C
18 lines
285 B
C
/*
|
|
* Copyright (C) 2000, 2001, 2002 Jeff Dike (jdike@karaya.com)
|
|
* Licensed under the GPL
|
|
*/
|
|
|
|
#include <setjmp.h>
|
|
#include <signal.h>
|
|
#include "kern_util.h"
|
|
#include "user_util.h"
|
|
#include "os.h"
|
|
|
|
void do_longjmp(void *b, int val)
|
|
{
|
|
sigjmp_buf *buf = b;
|
|
|
|
siglongjmp(*buf, val);
|
|
}
|