summaryrefslogtreecommitdiffstats
path: root/arch/xtensa/kernel
diff options
context:
space:
mode:
authorBaruch Siach <baruch@tkos.co.il>2013-10-17 02:42:18 +0400
committerChris Zankel <chris@zankel.net>2014-01-14 10:19:54 -0800
commit0fb4040e6ed69b62e64ec781694882309edbf33c (patch)
treee6a61f0afc8e75f8fc177759a00f659f1bd527ec /arch/xtensa/kernel
parent496543c4f1afd0eb1548054838058bf30464ccc9 (diff)
downloadlinux-0fb4040e6ed69b62e64ec781694882309edbf33c.tar.gz
linux-0fb4040e6ed69b62e64ec781694882309edbf33c.tar.bz2
linux-0fb4040e6ed69b62e64ec781694882309edbf33c.zip
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 = {
.rating = 200,
.read = ccount_read,
.mask = CLOCKSOURCE_MASK(32),
+ .flags = CLOCK_SOURCE_IS_CONTINUOUS,
};
static int ccount_timer_set_next_event(unsigned long delta,