xtensa: initialize device tree clock sources
authorBaruch Siach <baruch@tkos.co.il>
Mon, 23 Dec 2013 18:49:56 +0000 (20:49 +0200)
committerMax Filippov <jcmvbkbc@gmail.com>
Tue, 14 Jan 2014 20:24:05 +0000 (00:24 +0400)
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/kernel/time.c

index 1fb49a355568c74d66824ffd6afd737dcfd33a28..08b769d3b3a1c48482179eac8c68c562f61321c4 100644 (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();
 }
 
 /*