Skip to content

Commit

Permalink
riscv: make timer precision default to 0
Browse files Browse the repository at this point in the history
Align RISC-V with ARM behavior

Signed-off-by: Axel Heider <[email protected]>
  • Loading branch information
axel-h committed Dec 1, 2023
1 parent 7635d90 commit d344043
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions include/arch/riscv/arch/machine/timer.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@
#include <arch/sbi.h>
#include <arch/machine/hardware.h>

#ifndef CONFIGURE_TIMER_PRECISION
#define CONFIGURE_TIMER_PRECISION 1
#endif

/* The scheduler clock is greater than 1MHz */
#define TICKS_IN_US (TIMER_CLOCK_HZ / (US_IN_MS * MS_IN_S))

Expand Down

0 comments on commit d344043

Please sign in to comment.