]> 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)
commitd658033e0af436f75dcd52493b110b3e32e53351
treed106fcaeb6b66e09591cf8ec28c836be93f4d837
parentcf3661f495ea4382e992c08a09fb2b58b02c14a1
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