summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBaruch Siach <baruch@tkos.co.il>2013-12-23 19:49:56 +0100
committerMax Filippov <jcmvbkbc@gmail.com>2014-01-14 21:24:05 +0100
commitb087ab7f257022027077cc02d8056b64828c6ae4 (patch)
treef05439f4ba49e56cd73d36666f0dae68fc59ecc7
parentxtensa: xtfpga: fix definitions of platform devices (diff)
downloadlinux-b087ab7f257022027077cc02d8056b64828c6ae4.tar.xz
linux-b087ab7f257022027077cc02d8056b64828c6ae4.zip
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();
}
/*