diff options
author | Baruch Siach <baruch@tkos.co.il> | 2013-10-17 00:42:18 +0200 |
---|---|---|
committer | Chris Zankel <chris@zankel.net> | 2014-01-14 19:19:54 +0100 |
commit | 0fb4040e6ed69b62e64ec781694882309edbf33c (patch) | |
tree | e6a61f0afc8e75f8fc177759a00f659f1bd527ec /arch | |
parent | xtensa: enable HAVE_IRQ_TIME_ACCOUNTING (diff) | |
download | linux-0fb4040e6ed69b62e64ec781694882309edbf33c.tar.xz 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')
-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 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, |