/*
- * Copyright (c) 2003 Apple Computer, Inc. All rights reserved.
+ * Copyright (c) 2003-2008 Apple Inc. All rights reserved.
*
* @APPLE_OSREFERENCE_LICENSE_HEADER_START@
*
*/
/*
* Machine independent per processor data.
- *
- * HISTORY
- *
- * 16 October 2003 (debo)
- * Created.
*/
#include <mach/mach_types.h>
#include <kern/processor.h>
+#include <kern/timer.h>
void
processor_data_init(
{
(void)memset(&processor->processor_data, 0, sizeof (processor_data_t));
- queue_init(&PROCESSOR_DATA(processor, timer_call_queue));
-#if !STAT_TIME
- timer_init(&PROCESSOR_DATA(processor, offline_timer));
-#endif /* STAT_TIME */
+ timer_init(&PROCESSOR_DATA(processor, idle_state));
+ timer_init(&PROCESSOR_DATA(processor, system_state));
+ timer_init(&PROCESSOR_DATA(processor, user_state));
}