mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-29 20:46:41 +07:00
ARM: highbank: enable sp804 based sched_clock
Initialize sched_clock to use the sp804 timer. Signed-off-by: Rob Herring <rob.herring@calxeda.com>
This commit is contained in:
parent
a7bf616208
commit
f3b7cd2a9e
@ -109,7 +109,7 @@ static void __init highbank_timer_init(void)
|
||||
|
||||
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");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user