diff options
| author | Palmer Dabbelt <[email protected]> | 2020-11-25 11:57:03 -0800 |
|---|---|---|
| committer | Palmer Dabbelt <[email protected]> | 2020-12-10 17:39:43 -0800 |
| commit | ccbbfd1cbf365b38d014351d1482fedd26282041 (patch) | |
| tree | 34d4ff092c563258d4c39e4655db47bf2adf51fe /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
| parent | 30aca1bacb398dec6c1ed5eeca33f355bd7b6203 (diff) | |
RISC-V: Define get_cycles64() regardless of M-mode
The timer driver uses get_cycles64() unconditionally to obtain the current
time. A recent refactoring lost the common definition for some configs, which
is now the only one we need.
Fixes: d5be89a8d118 ("RISC-V: Resurrect the MMIO timer implementation for M-mode systems")
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions