diff options
author | Christoph Hellwig <[email protected]> | 2019-08-21 23:58:36 +0900 |
---|---|---|
committer | Paul Walmsley <[email protected]> | 2019-09-05 01:52:46 -0700 |
commit | 2f12dbf190d97dc0f2f8a07269dd0d8060808539 (patch) | |
tree | d699e8fc51c7814904c0ab79c50a7144e243d544 /lib/mpi/mpi-cmp.c | |
parent | f5bf645d10f2c6cc85294021af70f2b7bcc42d8e (diff) |
riscv: don't use the rdtime(h) pseudo-instructions
If we just use the CSRs that these map to directly the code is simpler
and doesn't require extra inline assembly code. Also fix up the top-level
comment in timer-riscv.c to not talk about the cycle count or mention
details of the clocksource interface, of which this file is just a
consumer.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Atish Patra <[email protected]>
Signed-off-by: Paul Walmsley <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions