X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/316670eb35587141e969394ae8537d66b9211e80..fe8ab488e9161c46dd9885d58fc52996dc0249ff:/osfmk/kern/timer.c diff --git a/osfmk/kern/timer.c b/osfmk/kern/timer.c index 02a088597..2ddcbd9b6 100644 --- a/osfmk/kern/timer.c +++ b/osfmk/kern/timer.c @@ -56,8 +56,6 @@ /* */ -#include - #include #include #include @@ -66,11 +64,7 @@ #include #include -#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 */