diff options
author | Anup Patel <anup@brainfault.org> | 2018-12-04 13:29:51 +0300 |
---|---|---|
committer | Palmer Dabbelt <palmer@sifive.com> | 2018-12-21 19:17:19 +0300 |
commit | 9b9afe4a0ef149db2472f13d6fa3c705d2867c9c (patch) | |
tree | 549d77afc060cc00d11c008892138ff647bfe11e /arch/riscv | |
parent | a266cdba17b36497da47055f31454995c5e50f43 (diff) | |
download | linux-9b9afe4a0ef149db2472f13d6fa3c705d2867c9c.tar.xz |
RISC-V: Select GENERIC_SCHED_CLOCK for clocksource drivers
The riscv_timer driver can provide sched_clock using "rdtime"
instruction but to achieve this we require generic sched_clock
framework hence this patch selects GENERIC_SCHED_CLOCK for RISCV.
Signed-off-by: Anup Patel <anup@brainfault.org>
Reviewed-by: Palmer Dabbelt <palmer@sifive.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
Diffstat (limited to 'arch/riscv')
-rw-r--r-- | arch/riscv/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index 23ac6d6f9ab2..ee833e6f5ccb 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -24,6 +24,7 @@ config RISCV select GENERIC_CPU_DEVICES select GENERIC_IRQ_SHOW select GENERIC_PCI_IOMAP + select GENERIC_SCHED_CLOCK select GENERIC_STRNCPY_FROM_USER select GENERIC_STRNLEN_USER select GENERIC_SMP_IDLE_THREAD |