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:
90e3bc7
)
xtensa: reset all timers on initialization
author
Max Filippov
<jcmvbkbc@gmail.com>
Mon, 10 Dec 2012 21:26:22 +0000
(
01:26
+0400)
committer
Chris Zankel
<chris@zankel.net>
Wed, 19 Dec 2012 05:10:25 +0000
(21:10 -0800)
There are XCHAL_NUM_TIMERS, reset them all.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
arch/xtensa/kernel/head.S
patch
|
blob
|
history
diff --git
a/arch/xtensa/kernel/head.S
b/arch/xtensa/kernel/head.S
index 9013ae0174f85ef40ee0ca450bbba524a1c1172d..0cd337a341d96366e3fa36453850ab5bdb8333b4 100644
(file)
--- a/
arch/xtensa/kernel/head.S
+++ b/
arch/xtensa/kernel/head.S
@@
-111,7
+111,7
@@
ENTRY(_startup)
/* Disable all timers. */
.set _index, 0
- .rept XCHAL_NUM_TIMERS
- 1
+ .rept XCHAL_NUM_TIMERS
wsr a0, SREG_CCOMPARE + _index
.set _index, _index + 1
.endr