projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
496543c
)
xtensa: mark ccount as continuous clocksource
author
Baruch Siach
<baruch@tkos.co.il>
Wed, 16 Oct 2013 22:42:18 +0000
(
02:42
+0400)
committer
Chris Zankel
<chris@zankel.net>
Tue, 14 Jan 2014 18:19:54 +0000
(10:19 -0800)
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>
arch/xtensa/kernel/time.c
patch
|
blob
|
history
diff --git
a/arch/xtensa/kernel/time.c
b/arch/xtensa/kernel/time.c
index 9af3dd88ad7eac172e4fb835e94c70e369547438..26eb6a9e8d4e84d355e1b3c5317f4afe530ff584 100644
(file)
--- 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,