| .. | .. |
|---|
| 39 | 39 | } |
|---|
| 40 | 40 | extern void rt_mutex_setprio(struct task_struct *p, struct task_struct *pi_task); |
|---|
| 41 | 41 | 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 | | -} |
|---|
| 46 | 42 | #else |
|---|
| 47 | 43 | static inline struct task_struct *rt_mutex_get_top_task(struct task_struct *task) |
|---|
| 48 | 44 | { |
|---|
| 49 | 45 | return NULL; |
|---|
| 50 | 46 | } |
|---|
| 51 | 47 | # 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 | | -} |
|---|
| 56 | 48 | #endif |
|---|
| 57 | 49 | |
|---|
| 58 | 50 | extern void normalize_rt_tasks(void); |
|---|