hc
2024-11-01 2f529f9b558ca1c1bd74be7437a84e4711743404
kernel/include/linux/sched.h
....@@ -119,6 +119,12 @@
119119
120120 #define task_is_stopped_or_traced(task) ((task->state & (__TASK_STOPPED | __TASK_TRACED)) != 0)
121121
122
+#ifdef CONFIG_DOVETAIL
123
+#define task_is_off_stage(task) test_ti_local_flags(task_thread_info(task), _TLF_OFFSTAGE)
124
+#else
125
+#define task_is_off_stage(task) 0
126
+#endif
127
+
122128 #ifdef CONFIG_DEBUG_ATOMIC_SLEEP
123129
124130 /*
....@@ -1052,6 +1058,10 @@
10521058 int irq_config;
10531059 #endif
10541060
1061
+#ifdef CONFIG_IRQ_PIPELINE
1062
+ unsigned long stall_bits;
1063
+#endif
1064
+
10551065 #ifdef CONFIG_LOCKDEP
10561066 # define MAX_LOCK_DEPTH 48UL
10571067 u64 curr_chain_key;