]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/kern/timer.c
xnu-2782.1.97.tar.gz
[apple/xnu.git] / osfmk / kern / timer.c
index 02a088597a59f889259899d02e96c9f8f468b6e0..2ddcbd9b63428db8c0f41be7b72c89efd9c6db21 100644 (file)
@@ -56,8 +56,6 @@
 /* 
  */
 
-#include <machine_timer_routines.h>
-
 #include <mach/kern_return.h>
 #include <mach/port.h>
 #include <kern/queue.h>
 #include <kern/sched_prim.h>
 #include <kern/timer.h>
 
-#if CONFIG_EMBEDDED
-int precise_user_kernel_time = 0;
-#else
 int precise_user_kernel_time = 1;
-#endif
 
 /*
  *     timer_init initializes a timer.
@@ -152,14 +146,6 @@ timer_switch(
        new_timer->tstamp = tstamp;
 }
 
-#if    MACHINE_TIMER_ROUTINES
-
-/*
- *     Machine-dependent code implements the timer event routine.
- */
-
-#else  /* MACHINE_TIMER_ROUTINES */
-
 /*
  *     Update the current thread timer and
  *     start the new timer.  Requires a current
@@ -187,5 +173,3 @@ thread_timer_event(
        PROCESSOR_DATA(processor, thread_timer) = new_timer;
        new_timer->tstamp = tstamp;
 }
-
-#endif /* MACHINE_TIMER_ROUTINES */