Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0fb4040e authored by Baruch Siach's avatar Baruch Siach Committed by Chris Zankel
Browse files

xtensa: mark ccount as continuous clocksource



This allows ccount to be used as highres timer.

Signed-off-by: default avatarBaruch Siach <baruch@tkos.co.il>
Signed-off-by: default avatarMax Filippov <jcmvbkbc@gmail.com>
Signed-off-by: default avatarChris Zankel <chris@zankel.net>
parent 496543c4
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -46,6 +46,7 @@ static struct clocksource ccount_clocksource = {
	.rating = 200,
	.rating = 200,
	.read = ccount_read,
	.read = ccount_read,
	.mask = CLOCKSOURCE_MASK(32),
	.mask = CLOCKSOURCE_MASK(32),
	.flags = CLOCK_SOURCE_IS_CONTINUOUS,
};
};


static int ccount_timer_set_next_event(unsigned long delta,
static int ccount_timer_set_next_event(unsigned long delta,