preparation for generic kernel_thread()
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 21 Sep 2012 23:55:31 +0000 (19:55 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 30 Sep 2012 17:35:55 +0000 (13:35 -0400)
commit2aa3a7f8660355c3dddead17e224545c1a3d5a5f
treed106fcaeb6b66e09591cf8ec28c836be93f4d837
parenta4d94ff8aa864c05b33c2de1f8c5d0176d7a4b63
preparation for generic kernel_thread()

Let architectures select GENERIC_KERNEL_THREAD and have their copy_thread()
treat NULL regs as "it came from kernel_thread(), sp argument contains
the function new thread will be calling and stack_size - the argument for
that function".  Switching the architectures begins shortly...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/Kconfig
include/linux/sched.h
kernel/fork.c