diff options
author | Ingo Molnar <mingo@elte.hu> | 2007-07-09 12:51:59 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2007-07-09 12:51:59 -0400 |
commit | f2ac58ee617fd9f6cd9922fbcd291b661d7c9954 (patch) | |
tree | 6eee6329575aafba0efe055b8f8f3c39674b1196 /include | |
parent | 45bf76df4814a4cd1c57226ae001c464467cb656 (diff) |
sched: remove sleep_type
remove the sleep_type heuristics from the core scheduler - scheduling
policy is implemented in the scheduling-policy modules. (and CFS does
not use this type of sleep-type heuristics)
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/sched.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 4dcc61cca00a..be2460e6f55b 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -788,13 +788,6 @@ struct mempolicy; | |||
788 | struct pipe_inode_info; | 788 | struct pipe_inode_info; |
789 | struct uts_namespace; | 789 | struct uts_namespace; |
790 | 790 | ||
791 | enum sleep_type { | ||
792 | SLEEP_NORMAL, | ||
793 | SLEEP_NONINTERACTIVE, | ||
794 | SLEEP_INTERACTIVE, | ||
795 | SLEEP_INTERRUPTED, | ||
796 | }; | ||
797 | |||
798 | struct prio_array; | 791 | struct prio_array; |
799 | struct rq; | 792 | struct rq; |
800 | struct sched_domain; | 793 | struct sched_domain; |
@@ -905,7 +898,6 @@ struct task_struct { | |||
905 | unsigned long sleep_avg; | 898 | unsigned long sleep_avg; |
906 | unsigned long long timestamp, last_ran; | 899 | unsigned long long timestamp, last_ran; |
907 | unsigned long long sched_time; /* sched_clock time spent running */ | 900 | unsigned long long sched_time; /* sched_clock time spent running */ |
908 | enum sleep_type sleep_type; | ||
909 | 901 | ||
910 | unsigned int policy; | 902 | unsigned int policy; |
911 | cpumask_t cpus_allowed; | 903 | cpumask_t cpus_allowed; |