summaryrefslogtreecommitdiff
path: root/os/utils.c
diff options
context:
space:
mode:
authorMathieu BĂ©rard <mathieu.berard@crans.org>2008-08-11 13:52:38 -0400
committerAdam Jackson <ajax@redhat.com>2008-08-11 13:52:38 -0400
commit9f9268821b13038556fbc029df54ab0e9b2aa77f (patch)
treee9ca5dd417acfa3a2d9171f6f5e972903dcab88a /os/utils.c
parent2e2ce817ce404a5e000c9750fa96f656fed370b8 (diff)
The smart scheduler is not optional.
Diffstat (limited to 'os/utils.c')
-rw-r--r--os/utils.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/os/utils.c b/os/utils.c
index 88a64950d..96da35dd0 100644
--- a/os/utils.c
+++ b/os/utils.c
@@ -111,9 +111,7 @@ OR PERFORMANCE OF THIS SOFTWARE.
#include "opaque.h"
-#ifdef SMART_SCHEDULE
#include "dixstruct.h"
-#endif
#ifdef XKB
#include <xkbsrv.h>
@@ -552,10 +550,8 @@ void UseMsg(void)
ErrorF("+xinerama Enable XINERAMA extension\n");
ErrorF("-xinerama Disable XINERAMA extension\n");
#endif
-#ifdef SMART_SCHEDULE
ErrorF("-dumbSched Disable smart scheduling, enable old behavior\n");
ErrorF("-schedInterval int Set scheduler interval in msec\n");
-#endif
ErrorF("+extension name Enable extension\n");
ErrorF("-extension name Disable extension\n");
#ifdef XDMCP
@@ -926,7 +922,6 @@ ProcessCommandLine(int argc, char *argv[])
i = skip - 1;
}
#endif
-#ifdef SMART_SCHEDULE
else if ( strcmp( argv[i], "-dumbSched") == 0)
{
SmartScheduleDisable = TRUE;
@@ -950,7 +945,6 @@ ProcessCommandLine(int argc, char *argv[])
else
UseMsg();
}
-#endif
#ifdef RENDER
else if ( strcmp( argv[i], "-render" ) == 0)
{
@@ -1234,7 +1228,6 @@ XNFstrdup(const char *s)
return sd;
}
-#ifdef SMART_SCHEDULE
#ifdef SIGVTALRM
#define SMART_SCHEDULE_POSSIBLE
@@ -1310,7 +1303,6 @@ SmartScheduleInit (void)
return FALSE;
#endif
}
-#endif
#ifdef SIG_BLOCK
static sigset_t PreviousSignalMask;