]> git.baikalelectronics.ru Git - kernel.git/commit
RISC-V: Remove per cpu clocksource
authorAtish Patra <atish.patra@wdc.com>
Sat, 3 Aug 2019 04:27:20 +0000 (21:27 -0700)
committerPaul Walmsley <paul.walmsley@sifive.com>
Tue, 6 Aug 2019 21:37:58 +0000 (14:37 -0700)
commit06fd72737cd225d1e2af98fdfb4014e47796c97e
treed5035a28e1995015be4e7d926e18d846f6b5f1dc
parent1b1e3f6d5a6ff25a6613c83a142ba0d73a10c16d
RISC-V: Remove per cpu clocksource

There is only one clocksource in RISC-V. The boot cpu initializes
that clocksource. No need to keep a percpu data structure.

Signed-off-by: Atish Patra <atish.patra@wdc.com>
Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/timer-riscv.c