aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaruch Siach <baruch@tkos.co.il>2013-12-23 20:49:56 +0200
committerMax Filippov <jcmvbkbc@gmail.com>2014-01-15 00:24:05 +0400
commitb087ab7f257022027077cc02d8056b64828c6ae4 (patch)
treef05439f4ba49e56cd73d36666f0dae68fc59ecc7
parenta558d99263936b8a67d4eff8918745a77bfd8c31 (diff)
downloadlinux-b087ab7f257022027077cc02d8056b64828c6ae4.tar.gz
xtensa: initialize device tree clock sources
Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
-rw-r--r--arch/xtensa/kernel/time.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/xtensa/kernel/time.c b/arch/xtensa/kernel/time.c
index 1fb49a355568..08b769d3b3a1 100644
--- a/arch/xtensa/kernel/time.c
+++ b/arch/xtensa/kernel/time.c
@@ -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();
}
/*