aboutsummaryrefslogtreecommitdiff
path: root/hw/slavio_timer.c
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-03-20 16:54:50 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-03-20 16:54:50 +0000
commitdc3c9d213d70d5ecb41ba4130c1f23b3e8c51e0b (patch)
tree12a5391a5dd17a4e43816f0cebece5b085e9f0a9 /hw/slavio_timer.c
parent491730f3287a5dec9a8ff45a80ee80c6682d49e5 (diff)
SlavIO Counter-Timers fix, by Aurelien Jarno.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2516 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/slavio_timer.c')
-rw-r--r--hw/slavio_timer.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/slavio_timer.c b/hw/slavio_timer.c
index 976f0d4db4..828d340b3d 100644
--- a/hw/slavio_timer.c
+++ b/hw/slavio_timer.c
@@ -131,7 +131,6 @@ static uint32_t slavio_timer_mem_readl(void *opaque, target_phys_addr_t addr)
if (s->mode != 1) {
// clear irq
pic_set_irq_cpu(s->irq, 0, s->cpu);
- s->count_load_time = qemu_get_clock(vm_clock);
s->reached = 0;
return s->limit;
}