hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/include/linux/sched/rt.h
....@@ -39,20 +39,12 @@
3939 }
4040 extern void rt_mutex_setprio(struct task_struct *p, struct task_struct *pi_task);
4141 extern void rt_mutex_adjust_pi(struct task_struct *p);
42
-static inline bool tsk_is_pi_blocked(struct task_struct *tsk)
43
-{
44
- return tsk->pi_blocked_on != NULL;
45
-}
4642 #else
4743 static inline struct task_struct *rt_mutex_get_top_task(struct task_struct *task)
4844 {
4945 return NULL;
5046 }
5147 # define rt_mutex_adjust_pi(p) do { } while (0)
52
-static inline bool tsk_is_pi_blocked(struct task_struct *tsk)
53
-{
54
- return false;
55
-}
5648 #endif
5749
5850 extern void normalize_rt_tasks(void);