[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [4575] Ignore duplicate timer run requests.
From: |
Paul Brook |
Subject: |
[Qemu-devel] [4575] Ignore duplicate timer run requests. |
Date: |
Sun, 25 May 2008 14:05:47 +0000 |
Revision: 4575
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4575
Author: pbrook
Date: 2008-05-25 14:05:47 +0000 (Sun, 25 May 2008)
Log Message:
-----------
Ignore duplicate timer run requests.
Modified Paths:
--------------
trunk/hw/ptimer.c
Modified: trunk/hw/ptimer.c
===================================================================
--- trunk/hw/ptimer.c 2008-05-25 11:19:24 UTC (rev 4574)
+++ trunk/hw/ptimer.c 2008-05-25 14:05:47 UTC (rev 4575)
@@ -100,6 +100,9 @@
void ptimer_run(ptimer_state *s, int oneshot)
{
+ if (s->enabled) {
+ return;
+ }
if (s->period == 0) {
fprintf(stderr, "Timer with period zero, disabling\n");
return;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [4575] Ignore duplicate timer run requests.,
Paul Brook <=