Commit b2cfba19 authored by Ingo Molnar's avatar Ingo Molnar

sched: remove unused rq types from sched.c

remove unused rq types from sched.c, now that we switched
over to CFS.
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 0c57d589
...@@ -208,15 +208,6 @@ struct rt_rq { ...@@ -208,15 +208,6 @@ struct rt_rq {
struct list_head *rt_load_balance_head, *rt_load_balance_curr; struct list_head *rt_load_balance_head, *rt_load_balance_curr;
}; };
/*
* The prio-array type of the old scheduler:
*/
struct prio_array {
unsigned int nr_active;
DECLARE_BITMAP(bitmap, MAX_PRIO+1); /* include 1 bit for delimiter */
struct list_head queue[MAX_PRIO];
};
/* /*
* This is the main, per-CPU runqueue data structure. * This is the main, per-CPU runqueue data structure.
* *
...@@ -232,7 +223,6 @@ struct rq { ...@@ -232,7 +223,6 @@ struct rq {
* remote CPUs use both these fields when doing load calculation. * remote CPUs use both these fields when doing load calculation.
*/ */
unsigned long nr_running; unsigned long nr_running;
unsigned long raw_weighted_load;
#define CPU_LOAD_IDX_MAX 5 #define CPU_LOAD_IDX_MAX 5
unsigned long cpu_load[CPU_LOAD_IDX_MAX]; unsigned long cpu_load[CPU_LOAD_IDX_MAX];
unsigned char idle_at_tick; unsigned char idle_at_tick;
...@@ -257,16 +247,10 @@ struct rq { ...@@ -257,16 +247,10 @@ struct rq {
*/ */
unsigned long nr_uninterruptible; unsigned long nr_uninterruptible;
unsigned long expired_timestamp;
unsigned long long most_recent_timestamp;
struct task_struct *curr, *idle; struct task_struct *curr, *idle;
unsigned long next_balance; unsigned long next_balance;
struct mm_struct *prev_mm; struct mm_struct *prev_mm;
struct prio_array *active, *expired, arrays[2];
int best_expired_prio;
u64 clock, prev_clock_raw; u64 clock, prev_clock_raw;
s64 clock_max_delta; s64 clock_max_delta;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment