projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4eee57f
)
Fix OMAP1 MPU-timer rate on 32-bit hosts.
author
balrog
<balrog@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 6 May 2008 14:50:15 +0000
(14:50 +0000)
committer
balrog
<balrog@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 6 May 2008 14:50:15 +0000
(14:50 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4360
c046a42c
-6fe2-441c-8c8c-
71466251a162
hw/omap1.c
patch
|
blob
|
history
diff --git
a/hw/omap1.c
b/hw/omap1.c
index
f7f2b48
..
7dab6c8
100644
(file)
--- a/
hw/omap1.c
+++ b/
hw/omap1.c
@@
-696,7
+696,7
@@
static inline void omap_timer_update(struct omap_mpu_timer_s *timer)
if (timer->enable && timer->st && timer->rate) {
timer->val = timer->reset_val; /* Should skip this on clk enable */
- expires = muldiv64(timer->val << (timer->ptv + 1),
+ expires = muldiv64(
(uint64_t)
timer->val << (timer->ptv + 1),
ticks_per_sec, timer->rate);
/* If timer expiry would be sooner than in about 1 ms and