um: kill thread->forking
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 20 Sep 2012 13:28:25 +0000 (09:28 -0400)
committerRichard Weinberger <richard@nod.at>
Thu, 27 Sep 2012 16:04:55 +0000 (18:04 +0200)
commitd2ce4e92fa4f79a5fdb4cc912b411280afe21697
treed7b1cae518d150b30342cef8dfa1a76e82005d25
parentf9a38eace4498a5e9f6d2cdfc879d5444edc3a5f
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