aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_sched.c
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-02-26 00:13:26 -0500
committerIan Moffett <ian@osmora.org>2024-02-26 00:13:26 -0500
commitf64c424c547a981a764e2a4a92e70f6e27245bdf (patch)
treec5d04d38a68655767195790f7495f505e6795961 /sys/kern/kern_sched.c
parentfdf7de345e42a7cf879e658b4db08ac97311cf08 (diff)
kernel: sched: Create schedvar.h
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/kern/kern_sched.c')
-rw-r--r--sys/kern/kern_sched.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/kern_sched.c b/sys/kern/kern_sched.c
index 81dd3a6..ff26e0a 100644
--- a/sys/kern/kern_sched.c
+++ b/sys/kern/kern_sched.c
@@ -28,6 +28,7 @@
*/
#include <sys/sched.h>
+#include <sys/schedvar.h>
#include <sys/sched_state.h>
#include <sys/types.h>
#include <sys/timer.h>
@@ -37,8 +38,6 @@
#include <assert.h>
#include <string.h>
-#define DEFAULT_TIMESLICE_USEC 100000000
-
/*
* Thread ready queue - all threads ready to be
* scheduled should be added to this queue.