]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit88defe455e4323f58894a4a96af48c6d513ceb87
treed106fcaeb6b66e09591cf8ec28c836be93f4d837
parente78428322df20f608e026cab77dbbde50e8e5063
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