sched: add SCHED_FEAT_DEADLINE
authorIngo Molnar <mingo@elte.hu>
Sat, 19 Apr 2008 07:25:58 +0000 (09:25 +0200)
committerIngo Molnar <mingo@elte.hu>
Sat, 19 Apr 2008 17:45:00 +0000 (19:45 +0200)
unused at the moment.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c

index 6d55dfc56cab35ba12e64f9ea4c6f0e2d53f03fc..8f03817e7dd37594470edc097aa774cca15b3d57 100644 (file)
@@ -742,6 +742,7 @@ enum {
        SCHED_FEAT_HRTICK               = 64,
        SCHED_FEAT_DOUBLE_TICK          = 128,
        SCHED_FEAT_NORMALIZED_SLEEPER   = 256,
+       SCHED_FEAT_DEADLINE             = 512,
 };
 
 const_debug unsigned int sysctl_sched_features =
@@ -753,7 +754,8 @@ const_debug unsigned int sysctl_sched_features =
                SCHED_FEAT_SYNC_WAKEUPS         * 1 |
                SCHED_FEAT_HRTICK               * 1 |
                SCHED_FEAT_DOUBLE_TICK          * 0 |
-               SCHED_FEAT_NORMALIZED_SLEEPER   * 1;
+               SCHED_FEAT_NORMALIZED_SLEEPER   * 1 |
+               SCHED_FEAT_DEADLINE             * 1;
 
 #define sched_feat(x) (sysctl_sched_features & SCHED_FEAT_##x)