From 958e46acc8e900e8569dd467c1af9b8d2d019394 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Sat, 09 Dec 2023 08:38:54 +0000 Subject: [PATCH] disable cpu isolcpus --- kernel/include/linux/sched/rt.h | 8 -------- 1 files changed, 0 insertions(+), 8 deletions(-) diff --git a/kernel/include/linux/sched/rt.h b/kernel/include/linux/sched/rt.h index e5af028..994c256 100644 --- a/kernel/include/linux/sched/rt.h +++ b/kernel/include/linux/sched/rt.h @@ -39,20 +39,12 @@ } extern void rt_mutex_setprio(struct task_struct *p, struct task_struct *pi_task); extern void rt_mutex_adjust_pi(struct task_struct *p); -static inline bool tsk_is_pi_blocked(struct task_struct *tsk) -{ - return tsk->pi_blocked_on != NULL; -} #else static inline struct task_struct *rt_mutex_get_top_task(struct task_struct *task) { return NULL; } # define rt_mutex_adjust_pi(p) do { } while (0) -static inline bool tsk_is_pi_blocked(struct task_struct *tsk) -{ - return false; -} #endif extern void normalize_rt_tasks(void); -- Gitblit v1.6.2