diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-04-19 03:25:58 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-19 13:45:00 -0400 |
commit | 06379aba522ebdabca37446ea988a23c43c03c67 (patch) | |
tree | 7a6b522e6f8390935e5369b96d1a080a0ee579d7 /kernel/sched.c | |
parent | 7ba2e74ab5a0518bc953042952dd165724bc70c9 (diff) |
sched: add SCHED_FEAT_DEADLINE
unused at the moment.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched.c')
-rw-r--r-- | kernel/sched.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index 6d55dfc56cab..8f03817e7dd3 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -742,6 +742,7 @@ enum { | |||
742 | SCHED_FEAT_HRTICK = 64, | 742 | SCHED_FEAT_HRTICK = 64, |
743 | SCHED_FEAT_DOUBLE_TICK = 128, | 743 | SCHED_FEAT_DOUBLE_TICK = 128, |
744 | SCHED_FEAT_NORMALIZED_SLEEPER = 256, | 744 | SCHED_FEAT_NORMALIZED_SLEEPER = 256, |
745 | SCHED_FEAT_DEADLINE = 512, | ||
745 | }; | 746 | }; |
746 | 747 | ||
747 | const_debug unsigned int sysctl_sched_features = | 748 | const_debug unsigned int sysctl_sched_features = |
@@ -753,7 +754,8 @@ const_debug unsigned int sysctl_sched_features = | |||
753 | SCHED_FEAT_SYNC_WAKEUPS * 1 | | 754 | SCHED_FEAT_SYNC_WAKEUPS * 1 | |
754 | SCHED_FEAT_HRTICK * 1 | | 755 | SCHED_FEAT_HRTICK * 1 | |
755 | SCHED_FEAT_DOUBLE_TICK * 0 | | 756 | SCHED_FEAT_DOUBLE_TICK * 0 | |
756 | SCHED_FEAT_NORMALIZED_SLEEPER * 1; | 757 | SCHED_FEAT_NORMALIZED_SLEEPER * 1 | |
758 | SCHED_FEAT_DEADLINE * 1; | ||
757 | 759 | ||
758 | #define sched_feat(x) (sysctl_sched_features & SCHED_FEAT_##x) | 760 | #define sched_feat(x) (sysctl_sched_features & SCHED_FEAT_##x) |
759 | 761 | ||