diff options
author | Palmer Dabbelt <palmerdabbelt@google.com> | 2020-11-25 11:57:03 -0800 |
---|---|---|
committer | Palmer Dabbelt <palmerdabbelt@google.com> | 2020-12-10 17:39:43 -0800 |
commit | ccbbfd1cbf365b38d014351d1482fedd26282041 (patch) | |
tree | 34d4ff092c563258d4c39e4655db47bf2adf51fe /drivers/gpu/drm/amd/amdgpu/amdgpu_test.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 <lkp@intel.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_test.c')
0 files changed, 0 insertions, 0 deletions