Rebase locking/kcsan to locking/urgent
[linux-2.6-microblaze.git] / init / init_task.c
index a90ac70..15089d1 100644 (file)
@@ -174,6 +174,16 @@ struct task_struct init_task
 #ifdef CONFIG_KASAN
        .kasan_depth    = 1,
 #endif
+#ifdef CONFIG_KCSAN
+       .kcsan_ctx = {
+               .disable_count          = 0,
+               .atomic_next            = 0,
+               .atomic_nest_count      = 0,
+               .in_flat_atomic         = false,
+               .access_mask            = 0,
+               .scoped_accesses        = {LIST_POISON1, NULL},
+       },
+#endif
 #ifdef CONFIG_TRACE_IRQFLAGS
        .softirqs_enabled = 1,
 #endif