提交 f3b7cd2a 编写于 作者: R Rob Herring

ARM: highbank: enable sp804 based sched_clock

Initialize sched_clock to use the sp804 timer.
Signed-off-by: NRob Herring <rob.herring@calxeda.com>
上级 a7bf6162
...@@ -109,7 +109,7 @@ static void __init highbank_timer_init(void) ...@@ -109,7 +109,7 @@ static void __init highbank_timer_init(void)
highbank_clocks_init(); highbank_clocks_init();
sp804_clocksource_init(timer_base + 0x20, "timer1"); sp804_clocksource_and_sched_clock_init(timer_base + 0x20, "timer1");
sp804_clockevents_init(timer_base, irq, "timer0"); sp804_clockevents_init(timer_base, irq, "timer0");
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册