Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

-16
-16
kernel/sched.c
··· 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 212 * This is the main, per-CPU runqueue data structure. 222 213 * 223 214 * Locking rule: those places that want to lock multiple runqueues ··· 223 232 * remote CPUs use both these fields when doing load calculation. 224 233 */ 225 234 unsigned long nr_running; 226 - unsigned long raw_weighted_load; 227 235 #define CPU_LOAD_IDX_MAX 5 228 236 unsigned long cpu_load[CPU_LOAD_IDX_MAX]; 229 237 unsigned char idle_at_tick; ··· 247 257 */ 248 258 unsigned long nr_uninterruptible; 249 259 250 - unsigned long expired_timestamp; 251 - unsigned long long most_recent_timestamp; 252 - 253 260 struct task_struct *curr, *idle; 254 261 unsigned long next_balance; 255 262 struct mm_struct *prev_mm; 256 - 257 - struct prio_array *active, *expired, arrays[2]; 258 - int best_expired_prio; 259 263 260 264 u64 clock, prev_clock_raw; 261 265 s64 clock_max_delta;