diff options
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r-- | include/linux/sched.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index b4e6be7de5ad..821f0481ebe1 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -1044,11 +1044,13 @@ extern void sched_idle_next(void); | |||
1044 | #ifdef CONFIG_RT_MUTEXES | 1044 | #ifdef CONFIG_RT_MUTEXES |
1045 | extern int rt_mutex_getprio(task_t *p); | 1045 | extern int rt_mutex_getprio(task_t *p); |
1046 | extern void rt_mutex_setprio(task_t *p, int prio); | 1046 | extern void rt_mutex_setprio(task_t *p, int prio); |
1047 | extern void rt_mutex_adjust_pi(task_t *p); | ||
1047 | #else | 1048 | #else |
1048 | static inline int rt_mutex_getprio(task_t *p) | 1049 | static inline int rt_mutex_getprio(task_t *p) |
1049 | { | 1050 | { |
1050 | return p->normal_prio; | 1051 | return p->normal_prio; |
1051 | } | 1052 | } |
1053 | # define rt_mutex_adjust_pi(p) do { } while (0) | ||
1052 | #endif | 1054 | #endif |
1053 | 1055 | ||
1054 | extern void set_user_nice(task_t *p, long nice); | 1056 | extern void set_user_nice(task_t *p, long nice); |