X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/39236c6e673c41db228275375ab7fdb0f837b292..cc8bc92ae4a8e9f1a1ab61bf83d34ad8150b3405:/osfmk/kern/timer.c diff --git a/osfmk/kern/timer.c b/osfmk/kern/timer.c index 901dbd9ee..f101eb171 100644 --- a/osfmk/kern/timer.c +++ b/osfmk/kern/timer.c @@ -56,8 +56,6 @@ /* */ -#include - #include #include #include @@ -66,7 +64,11 @@ #include #include +#if CONFIG_EMBEDDED +int precise_user_kernel_time = 0; +#else int precise_user_kernel_time = 1; +#endif /* * timer_init initializes a timer. @@ -148,14 +150,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 @@ -183,5 +177,3 @@ thread_timer_event( PROCESSOR_DATA(processor, thread_timer) = new_timer; new_timer->tstamp = tstamp; } - -#endif /* MACHINE_TIMER_ROUTINES */