diff options
author | Anup Patel <anup@brainfault.org> | 2018-12-04 11:29:52 +0100 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2018-12-18 22:22:23 +0100 |
commit | 92e0d143fdef1faa7560c93fb0d6cd6c61da88ee (patch) | |
tree | f52b5e219877dbd0b2e646c63a1c8bbb63dde25f /.clang-format | |
parent | clocksource/drivers/timer-imx-tpm: Specify clock name for timer-of (diff) | |
download | linux-92e0d143fdef1faa7560c93fb0d6cd6c61da88ee.tar.xz linux-92e0d143fdef1faa7560c93fb0d6cd6c61da88ee.zip |
clocksource/drivers/riscv_timer: Provide the sched_clock
Currently, we don't have a sched_clock registered for RISC-V systems.
This means Linux time keeping will use jiffies (running at HZ) as the
default sched_clock.
To avoid this, we explicity provide sched_clock using RISC-V rdtime
instruction (similar to riscv_timer clocksource).
Signed-off-by: Anup Patel <anup@brainfault.org>
Reviewed-by: Palmer Dabbelt <palmer@sifive.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions