]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - init/init_task.c
Merge tag 'dma-mapping-5.3' of git://git.infradead.org/users/hch/dma-mapping
[linux.git] / init / init_task.c
index c70ef656d0f40cf4fc603d0a7dbb70ba1820af73..7ab773b9b3cd566c504e84d6fc06a0d869705145 100644 (file)
@@ -72,7 +72,8 @@ struct task_struct init_task
        .static_prio    = MAX_PRIO - 20,
        .normal_prio    = MAX_PRIO - 20,
        .policy         = SCHED_NORMAL,
-       .cpus_allowed   = CPU_MASK_ALL,
+       .cpus_ptr       = &init_task.cpus_mask,
+       .cpus_mask      = CPU_MASK_ALL,
        .nr_cpus_allowed= NR_CPUS,
        .mm             = NULL,
        .active_mm      = &init_mm,
@@ -166,6 +167,8 @@ struct task_struct init_task
        .softirqs_enabled = 1,
 #endif
 #ifdef CONFIG_LOCKDEP
+       .lockdep_depth = 0, /* no locks held yet */
+       .curr_chain_key = INITIAL_CHAIN_KEY,
        .lockdep_recursion = 0,
 #endif
 #ifdef CONFIG_FUNCTION_GRAPH_TRACER