Rebase locking/kcsan to locking/urgent
[linux-2.6-microblaze.git] / include / linux / sched.h
index 57a5ce9..4ea612e 100644 (file)
@@ -31,6 +31,7 @@
 #include <linux/task_io_accounting.h>
 #include <linux/posix-timers.h>
 #include <linux/rseq.h>
+#include <linux/kcsan.h>
 
 /* task_struct member predeclarations (sorted alphabetically): */
 struct audit_context;
@@ -1197,6 +1198,9 @@ struct task_struct {
 #ifdef CONFIG_KASAN
        unsigned int                    kasan_depth;
 #endif
+#ifdef CONFIG_KCSAN
+       struct kcsan_ctx                kcsan_ctx;
+#endif
 
 #ifdef CONFIG_FUNCTION_GRAPH_TRACER
        /* Index of current stored address in ret_stack: */
@@ -1247,6 +1251,9 @@ struct task_struct {
 
        /* KCOV sequence number: */
        int                             kcov_sequence;
+
+       /* Collect coverage from softirq context: */
+       unsigned int                    kcov_softirq;
 #endif
 
 #ifdef CONFIG_MEMCG