xtensa: initialize device tree clock sources

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
This commit is contained in:
Baruch Siach 2013-12-23 20:49:56 +02:00 committed by Max Filippov
parent a558d99263
commit b087ab7f25

View File

@ -148,6 +148,7 @@ void __init time_init(void)
local_timer_setup(0);
setup_irq(this_cpu_ptr(&ccount_timer)->evt.irq, &timer_irqaction);
sched_clock_register(ccount_sched_clock_read, 32, ccount_freq);
clocksource_of_init();
}
/*