diff options
| author | Ingo Molnar <mingo@elte.hu> | 2007-07-09 12:52:00 -0400 |
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2007-07-09 12:52:00 -0400 |
| commit | b2cfba19f67228e78e48177187f6b07f4107c784 (patch) | |
| tree | f7309130f1fac8bf781eb0ddb8e42740af919817 /kernel/sched.c | |
| parent | 0c57d5893e4a9857ff22ec9e379f6bdbdad50850 (diff) | |
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: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched.c')
| -rw-r--r-- | kernel/sched.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index 886531c681c1..f8cf78c6af2e 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
| @@ -209,15 +209,6 @@ struct rt_rq { | |||
| 209 | }; | 209 | }; |
| 210 | 210 | ||
| 211 | /* | 211 | /* |
| 212 | * The prio-array type of the old scheduler: | ||
| 213 | */ | ||
| 214 | struct prio_array { | ||
| 215 | unsigned int nr_active; | ||
| 216 | DECLARE_BITMAP(bitmap, MAX_PRIO+1); /* include 1 bit for delimiter */ | ||
| 217 | struct list_head queue[MAX_PRIO]; | ||
| 218 | }; | ||
| 219 | |||
| 220 | /* | ||
| 221 | * This is the main, per-CPU runqueue data structure. | 212 | * This is the main, per-CPU runqueue data structure. |
| 222 | * | 213 | * |
| 223 | * Locking rule: those places that want to lock multiple runqueues | 214 | * Locking rule: those places that want to lock multiple runqueues |
| @@ -232,7 +223,6 @@ struct rq { | |||
| 232 | * remote CPUs use both these fields when doing load calculation. | 223 | * remote CPUs use both these fields when doing load calculation. |
| 233 | */ | 224 | */ |
| 234 | unsigned long nr_running; | 225 | unsigned long nr_running; |
| 235 | unsigned long raw_weighted_load; | ||
| 236 | #define CPU_LOAD_IDX_MAX 5 | 226 | #define CPU_LOAD_IDX_MAX 5 |
| 237 | unsigned long cpu_load[CPU_LOAD_IDX_MAX]; | 227 | unsigned long cpu_load[CPU_LOAD_IDX_MAX]; |
| 238 | unsigned char idle_at_tick; | 228 | unsigned char idle_at_tick; |
| @@ -257,16 +247,10 @@ struct rq { | |||
| 257 | */ | 247 | */ |
| 258 | unsigned long nr_uninterruptible; | 248 | unsigned long nr_uninterruptible; |
| 259 | 249 | ||
| 260 | unsigned long expired_timestamp; | ||
| 261 | unsigned long long most_recent_timestamp; | ||
| 262 | |||
| 263 | struct task_struct *curr, *idle; | 250 | struct task_struct *curr, *idle; |
| 264 | unsigned long next_balance; | 251 | unsigned long next_balance; |
| 265 | struct mm_struct *prev_mm; | 252 | struct mm_struct *prev_mm; |
| 266 | 253 | ||
| 267 | struct prio_array *active, *expired, arrays[2]; | ||
| 268 | int best_expired_prio; | ||
| 269 | |||
| 270 | u64 clock, prev_clock_raw; | 254 | u64 clock, prev_clock_raw; |
| 271 | s64 clock_max_delta; | 255 | s64 clock_max_delta; |
| 272 | 256 | ||
