Skip to content

Commit 2001d43

Browse files
Tom Burdicknashif
authored andcommitted
timer: HPET is also a lock free readable timer
Mark the timer as having a lock free read of the cycle count so that spin lock debugging can include lock time asserts. Signed-off-by: Tom Burdick <[email protected]>
1 parent 4f57b42 commit 2001d43

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/timer/Kconfig.hpet

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ config HPET_TIMER
1212
imply TIMER_READS_ITS_FREQUENCY_AT_RUNTIME
1313
select TICKLESS_CAPABLE
1414
select TIMER_HAS_64BIT_CYCLE_COUNTER
15+
select SYSTEM_CLOCK_LOCK_FREE_COUNT
1516
help
1617
This option selects High Precision Event Timer (HPET) as a
1718
system timer.

0 commit comments

Comments
 (0)