projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a86c44d
)
msm: timer: Decrease shift on timer clocksource
author
Jeff Ohlstein
<johlstei@codeaurora.org>
Thu, 21 Oct 2010 09:25:45 +0000
(
02:25
-0700)
committer
Daniel Walker
<dwalker@codeaurora.org>
Wed, 27 Oct 2010 21:24:02 +0000
(14:24 -0700)
The shift of 24 causes the shift and multiply operation to sometimes
overflow, resulting in incorrect timer values and poor performance.
Signed-off-by: Jeff Ohlstein <johlstei@codeaurora.org>
Signed-off-by: Daniel Walker <dwalker@codeaurora.org>
arch/arm/mach-msm/timer.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-msm/timer.c
b/arch/arm/mach-msm/timer.c
index
7689848
..
950100f
100644
(file)
--- a/
arch/arm/mach-msm/timer.c
+++ b/
arch/arm/mach-msm/timer.c
@@
-137,7
+137,7
@@
static struct msm_clock msm_clocks[] = {
.rating = 200,
.read = msm_gpt_read,
.mask = CLOCKSOURCE_MASK(32),
- .shift =
24
,
+ .shift =
17
,
.flags = CLOCK_SOURCE_IS_CONTINUOUS,
},
.irq = {