Merge tag 'trace-v6.0' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux...
[linux-2.6-microblaze.git] / include / linux / sched.h
index d6b0866..0bbfee0 100644 (file)
@@ -34,6 +34,7 @@
 #include <linux/rseq.h>
 #include <linux/seqlock.h>
 #include <linux/kcsan.h>
+#include <linux/rv.h>
 #include <asm/kmap_size.h>
 
 /* task_struct member predeclarations (sorted alphabetically): */
@@ -1501,6 +1502,16 @@ struct task_struct {
        struct callback_head            l1d_flush_kill;
 #endif
 
+#ifdef CONFIG_RV
+       /*
+        * Per-task RV monitor. Nowadays fixed in RV_PER_TASK_MONITORS.
+        * If we find justification for more monitors, we can think
+        * about adding more or developing a dynamic method. So far,
+        * none of these are justified.
+        */
+       union rv_task_monitor           rv[RV_PER_TASK_MONITORS];
+#endif
+
        /*
         * New fields for task_struct should be added above here, so that
         * they are included in the randomized portion of task_struct.