Browse Source

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>
Baruch Siach 11 năm trước cách đây
mục cha
commit
0fb4040e6e
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      arch/xtensa/kernel/time.c

+ 1 - 0
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,