riscv: Add HAVE_IRQ_TIME_ACCOUNTING
authorKefeng Wang <wangkefeng.wang@huawei.com>
Wed, 28 Oct 2020 04:28:42 +0000 (12:28 +0800)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Sat, 21 Nov 2020 02:02:53 +0000 (18:02 -0800)
commit31564b8b6dbaf9035d27131982d3296c10742baa
tree6b72baf333debcaa2e14d62dd36ab5c40b97db1a
parentda815582cf4594e96defa1cddb72cd00b1e7aac5
riscv: Add HAVE_IRQ_TIME_ACCOUNTING

RISCV_TIMER/CLINT_TIMER is required for RISC-V system, and it
provides sched_clock, which allow us to enable IRQ_TIME_ACCOUNTING.

Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Documentation/features/time/irq-time-acct/arch-support.txt
arch/riscv/Kconfig