diff options
Diffstat (limited to 'hw/timer/lm32_timer.c')
-rw-r--r-- | hw/timer/lm32_timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/timer/lm32_timer.c b/hw/timer/lm32_timer.c index cf316edb7f..fabde760b2 100644 --- a/hw/timer/lm32_timer.c +++ b/hw/timer/lm32_timer.c @@ -196,7 +196,7 @@ static void lm32_timer_realize(DeviceState *dev, Error **errp) LM32TimerState *s = LM32_TIMER(dev); s->bh = qemu_bh_new(timer_hit, s); - s->ptimer = ptimer_init(s->bh, PTIMER_POLICY_DEFAULT); + s->ptimer = ptimer_init_with_bh(s->bh, PTIMER_POLICY_DEFAULT); ptimer_set_freq(s->ptimer, s->freq_hz); } |