From: Baruch Siach Date: Wed, 16 Oct 2013 22:42:18 +0000 (+0400) Subject: xtensa: mark ccount as continuous clocksource X-Git-Tag: v3.14-rc1~99^2~24 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=0fb4040e6ed69b62e64ec781694882309edbf33c;p=linux.git xtensa: mark ccount as continuous clocksource This allows ccount to be used as highres timer. Signed-off-by: Baruch Siach Signed-off-by: Max Filippov Signed-off-by: Chris Zankel --- diff --git a/arch/xtensa/kernel/time.c b/arch/xtensa/kernel/time.c index 9af3dd88ad7e..26eb6a9e8d4e 100644 --- a/arch/xtensa/kernel/time.c +++ b/arch/xtensa/kernel/time.c @@ -46,6 +46,7 @@ static struct clocksource ccount_clocksource = { .rating = 200, .read = ccount_read, .mask = CLOCKSOURCE_MASK(32), + .flags = CLOCK_SOURCE_IS_CONTINUOUS, }; static int ccount_timer_set_next_event(unsigned long delta,