aboutsummaryrefslogtreecommitdiffstats
path: root/init/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'init/main.c')
-rw-r--r--init/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/init/main.c b/init/main.c
index 05b5283e98fa..18098153c331 100644
--- a/init/main.c
+++ b/init/main.c
@@ -430,7 +430,9 @@ static noinline void __init_refok rest_init(void)
430 kernel_thread(kernel_init, NULL, CLONE_FS | CLONE_SIGHAND); 430 kernel_thread(kernel_init, NULL, CLONE_FS | CLONE_SIGHAND);
431 numa_default_policy(); 431 numa_default_policy();
432 pid = kernel_thread(kthreadd, NULL, CLONE_FS | CLONE_FILES); 432 pid = kernel_thread(kthreadd, NULL, CLONE_FS | CLONE_FILES);
433 rcu_read_lock();
433 kthreadd_task = find_task_by_pid_ns(pid, &init_pid_ns); 434 kthreadd_task = find_task_by_pid_ns(pid, &init_pid_ns);
435 rcu_read_unlock();
434 unlock_kernel(); 436 unlock_kernel();
435 437
436 /* 438 /*