• A
    preparation for generic kernel_thread() · 2aa3a7f8
    Al Viro 提交于
    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: NAl Viro <viro@zeniv.linux.org.uk>
    2aa3a7f8
sched.h 82.8 KB