summaryrefslogtreecommitdiffstats
path: root/arch/csky
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmerdabbelt@google.com>2020-11-25 20:57:03 +0100
committerPalmer Dabbelt <palmerdabbelt@google.com>2020-12-11 02:39:43 +0100
commitccbbfd1cbf365b38d014351d1482fedd26282041 (patch)
tree34d4ff092c563258d4c39e4655db47bf2adf51fe /arch/csky
parentRISC-V: fix barrier() use in <vdso/processor.h> (diff)
downloadlinux-ccbbfd1cbf365b38d014351d1482fedd26282041.tar.xz
linux-ccbbfd1cbf365b38d014351d1482fedd26282041.zip
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 'arch/csky')
0 files changed, 0 insertions, 0 deletions