/* Initialize the conversion factor and the min/max deltas of the clock event structure and register the clock event source with the framework.  */
void __init setup_pit_timer(void)
/* Initialize the conversion factor and the min/max deltas of the clock event structure and register the clock event source with the framework.  */
void __init setup_pit_timer(void)
{
	pit_ce.cpumask = cpumask_of(smp_processor_id());
	pit_ce.mult = div_sc(CLOCK_TICK_RATE, NSEC_PER_SEC, pit_ce.shift);
	pit_ce.max_delta_ns = clockevent_delta2ns(0x7FFF, &pit_ce);
	pit_ce.min_delta_ns = clockevent_delta2ns(0xF, &pit_ce);
	clockevents_register_device(&pit_ce);
	global_clock_event = &pit_ce;
}