[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [4360] Fix OMAP1 MPU-timer rate on 32-bit hosts.
From: |
Andrzej Zaborowski |
Subject: |
[Qemu-devel] [4360] Fix OMAP1 MPU-timer rate on 32-bit hosts. |
Date: |
Tue, 06 May 2008 14:50:16 +0000 |
Revision: 4360
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4360
Author: balrog
Date: 2008-05-06 14:50:15 +0000 (Tue, 06 May 2008)
Log Message:
-----------
Fix OMAP1 MPU-timer rate on 32-bit hosts.
Modified Paths:
--------------
trunk/hw/omap1.c
Modified: trunk/hw/omap1.c
===================================================================
--- trunk/hw/omap1.c 2008-05-06 14:47:19 UTC (rev 4359)
+++ trunk/hw/omap1.c 2008-05-06 14:50:15 UTC (rev 4360)
@@ -696,7 +696,7 @@
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [4360] Fix OMAP1 MPU-timer rate on 32-bit hosts.,
Andrzej Zaborowski <=