aboutsummaryrefslogtreecommitdiff
path: root/hw/timer/lm32_timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/timer/lm32_timer.c')
-rw-r--r--hw/timer/lm32_timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/timer/lm32_timer.c b/hw/timer/lm32_timer.c
index e45a65bb9d..2a07b59524 100644
--- a/hw/timer/lm32_timer.c
+++ b/hw/timer/lm32_timer.c
@@ -184,7 +184,7 @@ static void lm32_timer_init(Object *obj)
sysbus_init_irq(dev, &s->irq);
s->bh = qemu_bh_new(timer_hit, s);
- s->ptimer = ptimer_init(s->bh);
+ s->ptimer = ptimer_init(s->bh, PTIMER_POLICY_DEFAULT);
memory_region_init_io(&s->iomem, obj, &timer_ops, s,
"timer", R_MAX * 4);