aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sched/rt.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/sched/rt.h')
-rw-r--r--include/linux/sched/rt.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/linux/sched/rt.h b/include/linux/sched/rt.h
index 6341f5be6e24..a30b172df6e1 100644
--- a/include/linux/sched/rt.h
+++ b/include/linux/sched/rt.h
@@ -18,7 +18,7 @@ static inline int rt_task(struct task_struct *p)
18#ifdef CONFIG_RT_MUTEXES 18#ifdef CONFIG_RT_MUTEXES
19extern int rt_mutex_getprio(struct task_struct *p); 19extern int rt_mutex_getprio(struct task_struct *p);
20extern void rt_mutex_setprio(struct task_struct *p, int prio); 20extern void rt_mutex_setprio(struct task_struct *p, int prio);
21extern int rt_mutex_check_prio(struct task_struct *task, int newprio); 21extern int rt_mutex_get_effective_prio(struct task_struct *task, int newprio);
22extern struct task_struct *rt_mutex_get_top_task(struct task_struct *task); 22extern struct task_struct *rt_mutex_get_top_task(struct task_struct *task);
23extern void rt_mutex_adjust_pi(struct task_struct *p); 23extern void rt_mutex_adjust_pi(struct task_struct *p);
24static inline bool tsk_is_pi_blocked(struct task_struct *tsk) 24static inline bool tsk_is_pi_blocked(struct task_struct *tsk)
@@ -31,9 +31,10 @@ static inline int rt_mutex_getprio(struct task_struct *p)
31 return p->normal_prio; 31 return p->normal_prio;
32} 32}
33 33
34static inline int rt_mutex_check_prio(struct task_struct *task, int newprio) 34static inline int rt_mutex_get_effective_prio(struct task_struct *task,
35 int newprio)
35{ 36{
36 return 0; 37 return newprio;
37} 38}
38 39
39static inline struct task_struct *rt_mutex_get_top_task(struct task_struct *task) 40static inline struct task_struct *rt_mutex_get_top_task(struct task_struct *task)