/* 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)
{
	struct clock_event_device *cd = &pit_clockevent;
	unsigned int cpu = smp_processor_id();
	cd->cpumask = cpumask_of(cpu);
	clockevent_set_clock(cd, CLOCK_TICK_RATE);
	cd->max_delta_ns = clockevent_delta2ns(0x7FFF, cd);
	cd->min_delta_ns = clockevent_delta2ns(0xF, cd);
	clockevents_register_device(cd);
	setup_irq(0, &irq0);
}