um: kill thread->forking
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 20 Sep 2012 13:28:25 +0000 (09:28 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 20 Sep 2012 14:49:09 +0000 (10:49 -0400)
commita4d94ff8aa864c05b33c2de1f8c5d0176d7a4b63
tree5edabf2ba151a15240d663fcde44a15d98c9572d
parent8e2c85aa6c7a158d967db75931db7f13d20d31f4
um: kill thread->forking

we only use that to tell copy_thread() done by syscall from that
done by kernel_thread().  However, it's easier to do simply by
checking PF_KTHREAD in thread flags.

Merge sys_clone() guts for 32bit and 64bit, while we are at it...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/um/include/asm/processor-generic.h
arch/um/kernel/process.c
arch/um/kernel/syscall.c
arch/x86/um/shared/sysdep/syscalls.h
arch/x86/um/sys_call_table_32.c
arch/x86/um/syscalls_32.c
arch/x86/um/syscalls_64.c