Merge tag 'memory-controller-drv-5.12-2' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-2.6-microblaze.git] / include / linux / sched.h
index 51d535b..6e3a5ee 100644 (file)
@@ -1234,7 +1234,7 @@ struct task_struct {
        u64                             timer_slack_ns;
        u64                             default_timer_slack_ns;
 
-#ifdef CONFIG_KASAN
+#if defined(CONFIG_KASAN_GENERIC) || defined(CONFIG_KASAN_SW_TAGS)
        unsigned int                    kasan_depth;
 #endif