summaryrefslogtreecommitdiff
path: root/kern/syscall_subr.c
diff options
context:
space:
mode:
Diffstat (limited to 'kern/syscall_subr.c')
-rw-r--r--kern/syscall_subr.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/kern/syscall_subr.c b/kern/syscall_subr.c
index 01bd932..28119f1 100644
--- a/kern/syscall_subr.c
+++ b/kern/syscall_subr.c
@@ -33,13 +33,13 @@
#include <ipc/ipc_space.h>
#include <kern/counters.h>
#include <kern/ipc_kobject.h>
+#include <kern/mach_clock.h>
#include <kern/processor.h>
#include <kern/sched.h>
#include <kern/sched_prim.h>
#include <kern/ipc_sched.h>
#include <kern/task.h>
#include <kern/thread.h>
-#include <kern/time_out.h>
#include <machine/machspl.h> /* for splsched */
#if MACH_FIXPRI
@@ -139,8 +139,6 @@ boolean_t swtch_pri(pri)
myprocessor->processor_set->runq.count > 0);
}
-extern int hz;
-
void thread_switch_continue()
{
register thread_t cur_thread = current_thread();