Skip to content
Commit 4553474d authored by Stafford Horne's avatar Stafford Horne
Browse files

openrisc: add tick timer multi-core sync logic



In case timers are not in sync when cpus start (i.e. hot plug / offset
resets) we need to synchronize the secondary cpus internal timer with
the main cpu.  This is needed as in OpenRISC SMP there is only one
clocksource registered which reads from the same ttcr register on each
cpu.

This synchronization routine heavily borrows from mips implementation that
does something similar.

Signed-off-by: default avatarStafford Horne <shorne@gmail.com>
parent 78cdfb5c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment