aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sched.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2007-07-09 18:51:59 +0200
committerIngo Molnar <mingo@elte.hu>2007-07-09 18:51:59 +0200
commitf2ac58ee617fd9f6cd9922fbcd291b661d7c9954 (patch)
tree6eee6329575aafba0efe055b8f8f3c39674b1196 /include/linux/sched.h
parent45bf76df4814a4cd1c57226ae001c464467cb656 (diff)
downloadkernel_samsung_tuna-f2ac58ee617fd9f6cd9922fbcd291b661d7c9954.zip
kernel_samsung_tuna-f2ac58ee617fd9f6cd9922fbcd291b661d7c9954.tar.gz
kernel_samsung_tuna-f2ac58ee617fd9f6cd9922fbcd291b661d7c9954.tar.bz2
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/linux/sched.h')
-rw-r--r--include/linux/sched.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 4dcc61c..be2460e 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -788,13 +788,6 @@ struct mempolicy;
struct pipe_inode_info;
struct uts_namespace;
-enum sleep_type {
- SLEEP_NORMAL,
- SLEEP_NONINTERACTIVE,
- SLEEP_INTERACTIVE,
- SLEEP_INTERRUPTED,
-};
-
struct prio_array;
struct rq;
struct sched_domain;
@@ -905,7 +898,6 @@ struct task_struct {
unsigned long sleep_avg;
unsigned long long timestamp, last_ran;
unsigned long long sched_time; /* sched_clock time spent running */
- enum sleep_type sleep_type;
unsigned int policy;
cpumask_t cpus_allowed;