Merge tag 'pci-v5.11-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaa...
[linux-2.6-microblaze.git] / init / init_task.c
index 15f6eb9..8a992d7 100644 (file)
@@ -176,7 +176,7 @@ struct task_struct init_task
        .numa_group     = NULL,
        .numa_faults    = NULL,
 #endif
-#ifdef CONFIG_KASAN
+#if defined(CONFIG_KASAN_GENERIC) || defined(CONFIG_KASAN_SW_TAGS)
        .kasan_depth    = 1,
 #endif
 #ifdef CONFIG_KCSAN