From 0fb4040e6ed69b62e64ec781694882309edbf33c Mon Sep 17 00:00:00 2001 From: Baruch Siach Date: Thu, 17 Oct 2013 02:42:18 +0400 Subject: 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 --- arch/xtensa/kernel/time.c | 1 + 1 file changed, 1 insertion(+) (limited to 'arch') diff --git a/arch/xtensa/kernel/time.c b/arch/xtensa/kernel/time.c index 9af3dd8..26eb6a9e 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, -- cgit v1.1