mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-22 06:32:08 +00:00
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:
parent
0a7675aa20
commit
fab95c55e3
11 changed files with 16 additions and 44 deletions
|
@ -18,7 +18,7 @@ void __do_copy(void *to, const void *from, int n)
|
|||
|
||||
|
||||
int __do_copy_to_user(void *to, const void *from, int n,
|
||||
void **fault_addr, void **fault_catcher)
|
||||
void **fault_addr, jmp_buf **fault_catcher)
|
||||
{
|
||||
unsigned long fault;
|
||||
int faulted;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue