diff options
author | Baruch Siach <baruch@tkos.co.il> | 2013-10-17 02:42:18 +0400 |
---|---|---|
committer | Chris Zankel <chris@zankel.net> | 2014-01-14 10:19:54 -0800 |
commit | 0fb4040e6ed69b62e64ec781694882309edbf33c (patch) | |
tree | e6a61f0afc8e75f8fc177759a00f659f1bd527ec /arch/xtensa | |
parent | 496543c4f1afd0eb1548054838058bf30464ccc9 (diff) | |
download | op-kernel-dev-0fb4040e6ed69b62e64ec781694882309edbf33c.zip op-kernel-dev-0fb4040e6ed69b62e64ec781694882309edbf33c.tar.gz |
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')
-rw-r--r-- | arch/xtensa/kernel/time.c | 1 |
1 files changed, 1 insertions, 0 deletions
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, |