Unverified Commit cf86b2a9 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 7043ec0a
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