Skip to content

Commit 0fb4040

Browse files
baruchsiachczankel
authored andcommitted
xtensa: mark ccount as continuous clocksource
This allows ccount to be used as highres timer. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Chris Zankel <chris@zankel.net>
1 parent 496543c commit 0fb4040

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎arch/xtensa/kernel/time.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ static struct clocksource ccount_clocksource = {
4646
.rating = 200,
4747
.read = ccount_read,
4848
.mask = CLOCKSOURCE_MASK(32),
49+
.flags = CLOCK_SOURCE_IS_CONTINUOUS,
4950
};
5051

5152
static int ccount_timer_set_next_event(unsigned long delta,

0 commit comments

Comments
 (0)