*/
struct rt_prio_array {
DECLARE_BITMAP(bitmap, MAX_RT_PRIO+1); /* include 1 bit for delimiter */
- struct list_head xqueue[MAX_RT_PRIO]; /* exclusive queue */
- struct list_head squeue[MAX_RT_PRIO]; /* shared queue */
+ struct list_head queue[MAX_RT_PRIO];
};
struct rt_bandwidth {
array = &rt_rq->active;
for (i = 0; i < MAX_RT_PRIO; i++) {
- INIT_LIST_HEAD(array->xqueue + i);
- INIT_LIST_HEAD(array->squeue + i);
+ INIT_LIST_HEAD(array->queue + i);
__clear_bit(i, array->bitmap);
}
/* delimiter for bitsearch: */