summaryrefslogtreecommitdiff
path: root/kern/host.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/host.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/host.c')
-rw-r--r--kern/host.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/kern/host.c b/kern/host.c
index acca8ae..57a40b4 100644
--- a/kern/host.c
+++ b/kern/host.c
@@ -41,11 +41,9 @@
#include <mach/port.h>
#include <kern/processor.h>
#include <kern/ipc_host.h>
-
+#include <kern/mach_clock.h>
#include <mach/vm_param.h>
-
-
host_data_t realhost;
kern_return_t host_processors(
@@ -155,7 +153,6 @@ kern_return_t host_info(
case HOST_SCHED_INFO:
{
register host_sched_info_t sched_info;
- extern int tick; /* microseconds per clock tick */
extern int min_quantum;
/* minimum quantum, in microseconds */