[PATCH] uml: fork cleanup
Fix the do_fork calling convention: normal arch pass the regs and the new sp value to do_fork instead of NULL. Currently the arch-independent code ignores these values, while the UML code (actually it's copy_thread) gets the right values by itself. With this patch, things are fixed up. Signed-off-by:Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Signed-off-by:
Jeff Dike <jdike@addtoit.com> Cc: Paolo Giarrusso <blaisorblade@yahoo.it> Signed-off-by:
Andrew Morton <akpm@osdl.org> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
Showing
- arch/um/kernel/process_kern.c 2 additions, 2 deletionsarch/um/kernel/process_kern.c
- arch/um/kernel/skas/process_kern.c 1 addition, 13 deletionsarch/um/kernel/skas/process_kern.c
- arch/um/kernel/syscall_kern.c 5 additions, 14 deletionsarch/um/kernel/syscall_kern.c
- arch/um/kernel/tt/process_kern.c 3 additions, 14 deletionsarch/um/kernel/tt/process_kern.c
- arch/um/sys-i386/syscalls.c 4 additions, 19 deletionsarch/um/sys-i386/syscalls.c
- arch/um/sys-x86_64/syscalls.c 4 additions, 19 deletionsarch/um/sys-x86_64/syscalls.c
Loading
Please register or sign in to comment