Commit 008f988b authored by Dmitriy Cherkasov's avatar Dmitriy Cherkasov Committed by Palmer Dabbelt
Browse files

clocksource: riscv_timer: split boot and secondary cpu timer init



Since clocksource is system-wide and timers are local to each cpu,
split the initialization routines to match this layout.

The boot cpu initializes the clocksource and its own timer, while
the secondary cpus initialize only their timers since clocksource
is already set up.

Signed-off-by: default avatarDmitriy Cherkasov <dmitriy@oss-tech.org>
parent bc50b9fe
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment