diff options
Diffstat (limited to 'kernel/sched.c')
-rw-r--r-- | kernel/sched.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index 554de4009803..cc1d558406f8 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -153,8 +153,7 @@ static inline int task_has_rt_policy(struct task_struct *p) | |||
153 | */ | 153 | */ |
154 | struct rt_prio_array { | 154 | struct rt_prio_array { |
155 | DECLARE_BITMAP(bitmap, MAX_RT_PRIO+1); /* include 1 bit for delimiter */ | 155 | DECLARE_BITMAP(bitmap, MAX_RT_PRIO+1); /* include 1 bit for delimiter */ |
156 | struct list_head xqueue[MAX_RT_PRIO]; /* exclusive queue */ | 156 | struct list_head queue[MAX_RT_PRIO]; |
157 | struct list_head squeue[MAX_RT_PRIO]; /* shared queue */ | ||
158 | }; | 157 | }; |
159 | 158 | ||
160 | struct rt_bandwidth { | 159 | struct rt_bandwidth { |
@@ -7620,8 +7619,7 @@ static void init_rt_rq(struct rt_rq *rt_rq, struct rq *rq) | |||
7620 | 7619 | ||
7621 | array = &rt_rq->active; | 7620 | array = &rt_rq->active; |
7622 | for (i = 0; i < MAX_RT_PRIO; i++) { | 7621 | for (i = 0; i < MAX_RT_PRIO; i++) { |
7623 | INIT_LIST_HEAD(array->xqueue + i); | 7622 | INIT_LIST_HEAD(array->queue + i); |
7624 | INIT_LIST_HEAD(array->squeue + i); | ||
7625 | __clear_bit(i, array->bitmap); | 7623 | __clear_bit(i, array->bitmap); |
7626 | } | 7624 | } |
7627 | /* delimiter for bitsearch: */ | 7625 | /* delimiter for bitsearch: */ |