|
@@ -380,7 +380,7 @@ static noinline void __init_refok rest_init(void)
|
|
* the init task will end up wanting to create kthreads, which, if
|
|
* the init task will end up wanting to create kthreads, which, if
|
|
* we schedule it before we create kthreadd, will OOPS.
|
|
* we schedule it before we create kthreadd, will OOPS.
|
|
*/
|
|
*/
|
|
- kernel_thread(kernel_init, NULL, CLONE_FS | CLONE_SIGHAND);
|
|
|
|
|
|
+ kernel_thread(kernel_init, NULL, CLONE_FS);
|
|
numa_default_policy();
|
|
numa_default_policy();
|
|
pid = kernel_thread(kthreadd, NULL, CLONE_FS | CLONE_FILES);
|
|
pid = kernel_thread(kthreadd, NULL, CLONE_FS | CLONE_FILES);
|
|
rcu_read_lock();
|
|
rcu_read_lock();
|