aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2007-07-09 12:52:00 -0400
committerIngo Molnar <mingo@elte.hu>2007-07-09 12:52:00 -0400
commit50e645a8a1a91f57dd5d8454620be5f1cb0fc089 (patch)
treed917b1f178c81b9a71f40bca7513e231336bf909 /include
parent634fa8c97cc8f4ee2ae1dea7200ff0df762405e7 (diff)
sched: remove interactivity types from sched.h
remove now-unused types/fields used by the old scheduler. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include')
-rw-r--r--include/linux/sched.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index ce0c5adc9eb0..efa3beb007ff 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -788,7 +788,6 @@ struct mempolicy;
788struct pipe_inode_info; 788struct pipe_inode_info;
789struct uts_namespace; 789struct uts_namespace;
790 790
791struct prio_array;
792struct rq; 791struct rq;
793struct sched_domain; 792struct sched_domain;
794 793
@@ -884,10 +883,9 @@ struct task_struct {
884 int oncpu; 883 int oncpu;
885#endif 884#endif
886#endif 885#endif
887 int load_weight; /* for niceness load balancing purposes */ 886
888 int prio, static_prio, normal_prio; 887 int prio, static_prio, normal_prio;
889 struct list_head run_list; 888 struct list_head run_list;
890 struct prio_array *array;
891 struct sched_class *sched_class; 889 struct sched_class *sched_class;
892 struct sched_entity se; 890 struct sched_entity se;
893 891
@@ -895,13 +893,10 @@ struct task_struct {
895#ifdef CONFIG_BLK_DEV_IO_TRACE 893#ifdef CONFIG_BLK_DEV_IO_TRACE
896 unsigned int btrace_seq; 894 unsigned int btrace_seq;
897#endif 895#endif
898 unsigned long sleep_avg;
899 unsigned long long timestamp, last_ran;
900 unsigned long long sched_time; /* sched_clock time spent running */
901 896
902 unsigned int policy; 897 unsigned int policy;
903 cpumask_t cpus_allowed; 898 cpumask_t cpus_allowed;
904 unsigned int time_slice, first_time_slice; 899 unsigned int time_slice;
905 900
906#if defined(CONFIG_SCHEDSTATS) || defined(CONFIG_TASK_DELAY_ACCT) 901#if defined(CONFIG_SCHEDSTATS) || defined(CONFIG_TASK_DELAY_ACCT)
907 struct sched_info sched_info; 902 struct sched_info sched_info;