RISC-V: Select GENERIC_SCHED_CLOCK for clocksource drivers
authorAnup Patel <anup@brainfault.org>
Tue, 4 Dec 2018 10:29:51 +0000 (15:59 +0530)
committerPalmer Dabbelt <palmer@sifive.com>
Fri, 21 Dec 2018 16:17:19 +0000 (08:17 -0800)
commit9b9afe4a0ef149db2472f13d6fa3c705d2867c9c
tree549d77afc060cc00d11c008892138ff647bfe11e
parenta266cdba17b36497da47055f31454995c5e50f43
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>
arch/riscv/Kconfig