aboutsummaryrefslogtreecommitdiffstats
path: root/arch/xtensa/kernel
diff options
context:
space:
mode:
authorBaruch Siach <baruch@tkos.co.il>2013-10-16 18:42:18 -0400
committerChris Zankel <chris@zankel.net>2014-01-14 13:19:54 -0500
commit0fb4040e6ed69b62e64ec781694882309edbf33c (patch)
treee6a61f0afc8e75f8fc177759a00f659f1bd527ec /arch/xtensa/kernel
parent496543c4f1afd0eb1548054838058bf30464ccc9 (diff)
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>
Diffstat (limited to 'arch/xtensa/kernel')
-rw-r--r--arch/xtensa/kernel/time.c1
1 files changed, 1 insertions, 0 deletions
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 = {
46 .rating = 200, 46 .rating = 200,
47 .read = ccount_read, 47 .read = ccount_read,
48 .mask = CLOCKSOURCE_MASK(32), 48 .mask = CLOCKSOURCE_MASK(32),
49 .flags = CLOCK_SOURCE_IS_CONTINUOUS,
49}; 50};
50 51
51static int ccount_timer_set_next_event(unsigned long delta, 52static int ccount_timer_set_next_event(unsigned long delta,