From 2f529f9b558ca1c1bd74be7437a84e4711743404 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Fri, 01 Nov 2024 02:11:33 +0000 Subject: [PATCH] add xenomai --- kernel/include/linux/sched.h | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/kernel/include/linux/sched.h b/kernel/include/linux/sched.h index d3cc279..38cac8c 100644 --- a/kernel/include/linux/sched.h +++ b/kernel/include/linux/sched.h @@ -119,6 +119,12 @@ #define task_is_stopped_or_traced(task) ((task->state & (__TASK_STOPPED | __TASK_TRACED)) != 0) +#ifdef CONFIG_DOVETAIL +#define task_is_off_stage(task) test_ti_local_flags(task_thread_info(task), _TLF_OFFSTAGE) +#else +#define task_is_off_stage(task) 0 +#endif + #ifdef CONFIG_DEBUG_ATOMIC_SLEEP /* @@ -1052,6 +1058,10 @@ int irq_config; #endif +#ifdef CONFIG_IRQ_PIPELINE + unsigned long stall_bits; +#endif + #ifdef CONFIG_LOCKDEP # define MAX_LOCK_DEPTH 48UL u64 curr_chain_key; -- Gitblit v1.6.2