qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [4360] Fix OMAP1 MPU-timer rate on 32-bit hosts.
@ 2008-05-06 14:50 Andrzej Zaborowski
  0 siblings, 0 replies; only message in thread
From: Andrzej Zaborowski @ 2008-05-06 14:50 UTC (permalink / raw)
  To: qemu-devel

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-05-06 14:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-06 14:50 [Qemu-devel] [4360] Fix OMAP1 MPU-timer rate on 32-bit hosts Andrzej Zaborowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).