• Al Viro's avatar
    preparation for generic kernel_thread() · 2aa3a7f8
    Al Viro authored
    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: default avatarAl Viro <viro@zeniv.linux.org.uk>
    2aa3a7f8
fork.c 44.5 KB