summaryrefslogtreecommitdiff
path: root/kern/syscall_subr.c
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2007-02-05 21:09:36 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:27:03 +0200
commit0b5f13ce27017a23ba8a6b7e9a996fef3f42bbbb (patch)
treebf6518efd8ec28531479a78e602c28afb9415622 /kern/syscall_subr.c
parentfde790296f1817e463cb73ec5d3b91359bfbd921 (diff)
2007-02-05 Thomas Schwinge <tschwinge@gnu.org>
* i386/i386/hardclock.c: Include <kern/mach_clock.h> instead of <kern/time_out.h>. * i386/i386/pit.c: Likewise. * i386/i386at/kd.c: Likewise. * i386/i386at/model_dep.c: Likewise. * i386/i386at/rtc.c: Likewise. * kern/ipc_sched.c: Likewise. * kern/mach_factor.c: Likewise. * kern/priority.c: Likewise. * kern/sched_prim.c: Likewise. * kern/startup.c: Likewise. * kern/syscall_subr.c: Likewise. * kern/thread.h: Likewise. * kern/zalloc.c: Likewise. * kern/host.c: Include <kern/mach_clock.h>. (tick): Remove declaration. * kern/pc_sample.c: Likewise. * kern/thread.c: Likewise. * kern/sched_prim.c (hz): Remove declaration. * kern/syscall_subr.c (hz): Likewise. * linux/dev/init/main.c (hz): Likewise.
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();