]> err.no Git - linux-2.6/commit
[PATCH] uml: fork cleanup
authorJeff Dike <jdike@addtoit.com>
Sat, 25 Jun 2005 21:55:21 +0000 (14:55 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 25 Jun 2005 23:24:35 +0000 (16:24 -0700)
commite0877f07e85a46e4fde32bd84f08551d360839fe
tree97e29c30e5f1ee7f06f5cdd4760291d3bba6640e
parent41f2148a67f28803d64bf5ff538591af90a5ab57
[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>
arch/um/kernel/process_kern.c
arch/um/kernel/skas/process_kern.c
arch/um/kernel/syscall_kern.c
arch/um/kernel/tt/process_kern.c
arch/um/sys-i386/syscalls.c
arch/um/sys-x86_64/syscalls.c