uml: get rid of do_longjmp
do_longjmp used to be needed when UML didn't have its own implementation of setjmp and longjmp. They came from libc, and couldn't be called directly from kernel code, as the libc jmp_buf couldn't be imported there. do_longjmp was a userspace function which served to provide longjmp access to kernel code. This is gone, and a number of void * pointers can now be jmp_buf *. Signed-off-by: Jeff Dike <jdike@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
0a7675aa20
commit
fab95c55e3
@@ -22,10 +22,3 @@ void os_fill_handlinfo(struct kern_handlers h)
|
||||
sig_info[SIGVTALRM] = h.timer_handler;
|
||||
sig_info[SIGALRM] = h.timer_handler;
|
||||
}
|
||||
|
||||
void do_longjmp(void *b, int val)
|
||||
{
|
||||
jmp_buf *buf = b;
|
||||
|
||||
UML_LONGJMP(buf, val);
|
||||
}
|
||||
|
Reference in New Issue
Block a user