Skip to content

Commit

Permalink
sched: remove interactivity types from sched.h
Browse files Browse the repository at this point in the history
remove now-unused types/fields used by the old scheduler.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Ingo Molnar committed Jul 9, 2007
1 parent 634fa8c commit 50e645a
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions include/linux/sched.h
Original file line number Diff line number Diff line change
Expand Up @@ -788,7 +788,6 @@ struct mempolicy;
struct pipe_inode_info;
struct uts_namespace;

struct prio_array;
struct rq;
struct sched_domain;

Expand Down Expand Up @@ -884,24 +883,20 @@ struct task_struct {
int oncpu;
#endif
#endif
int load_weight; /* for niceness load balancing purposes */

int prio, static_prio, normal_prio;
struct list_head run_list;
struct prio_array *array;
struct sched_class *sched_class;
struct sched_entity se;

unsigned short ioprio;
#ifdef CONFIG_BLK_DEV_IO_TRACE
unsigned int btrace_seq;
#endif
unsigned long sleep_avg;
unsigned long long timestamp, last_ran;
unsigned long long sched_time; /* sched_clock time spent running */

unsigned int policy;
cpumask_t cpus_allowed;
unsigned int time_slice, first_time_slice;
unsigned int time_slice;

#if defined(CONFIG_SCHEDSTATS) || defined(CONFIG_TASK_DELAY_ACCT)
struct sched_info sched_info;
Expand Down

0 comments on commit 50e645a

Please sign in to comment.