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:
parent
a558d99263
commit
b087ab7f25
1 changed files with 1 additions and 0 deletions
|
@ -148,6 +148,7 @@ void __init time_init(void)
|
||||||
local_timer_setup(0);
|
local_timer_setup(0);
|
||||||
setup_irq(this_cpu_ptr(&ccount_timer)->evt.irq, &timer_irqaction);
|
setup_irq(this_cpu_ptr(&ccount_timer)->evt.irq, &timer_irqaction);
|
||||||
sched_clock_register(ccount_sched_clock_read, 32, ccount_freq);
|
sched_clock_register(ccount_sched_clock_read, 32, ccount_freq);
|
||||||
|
clocksource_of_init();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Add table
Reference in a new issue