diff options
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r-- | include/linux/sched.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 158f4c2dd852..9ea15019a5b6 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -16,6 +16,7 @@ struct sched_param { | |||
16 | #include <linux/types.h> | 16 | #include <linux/types.h> |
17 | #include <linux/timex.h> | 17 | #include <linux/timex.h> |
18 | #include <linux/jiffies.h> | 18 | #include <linux/jiffies.h> |
19 | #include <linux/plist.h> | ||
19 | #include <linux/rbtree.h> | 20 | #include <linux/rbtree.h> |
20 | #include <linux/thread_info.h> | 21 | #include <linux/thread_info.h> |
21 | #include <linux/cpumask.h> | 22 | #include <linux/cpumask.h> |
@@ -1354,7 +1355,8 @@ struct task_struct { | |||
1354 | 1355 | ||
1355 | #ifdef CONFIG_RT_MUTEXES | 1356 | #ifdef CONFIG_RT_MUTEXES |
1356 | /* PI waiters blocked on a rt_mutex held by this task */ | 1357 | /* PI waiters blocked on a rt_mutex held by this task */ |
1357 | struct plist_head pi_waiters; | 1358 | struct rb_root pi_waiters; |
1359 | struct rb_node *pi_waiters_leftmost; | ||
1358 | /* Deadlock detection and priority inheritance handling */ | 1360 | /* Deadlock detection and priority inheritance handling */ |
1359 | struct rt_mutex_waiter *pi_blocked_on; | 1361 | struct rt_mutex_waiter *pi_blocked_on; |
1360 | #endif | 1362 | #endif |