From 260b37a52f630ba03c6ae9d381e3ff8fec551f52 Mon Sep 17 00:00:00 2001 From: Zide Chen Date: Mon, 7 May 2018 22:59:51 -0700 Subject: [PATCH] HV: Fix the missing list_head initializaiton Signed-off-by: Zide Chen Acked-by: Anthony Xu --- hypervisor/include/arch/x86/timer.h | 1 + 1 file changed, 1 insertion(+) diff --git a/hypervisor/include/arch/x86/timer.h b/hypervisor/include/arch/x86/timer.h index 09582c5a0..9059f0466 100644 --- a/hypervisor/include/arch/x86/timer.h +++ b/hypervisor/include/arch/x86/timer.h @@ -61,6 +61,7 @@ static inline void initialize_timer(struct timer *timer, timer->fire_tsc = fire_tsc; timer->mode = mode; timer->period_in_cycle = period_in_cycle; + INIT_LIST_HEAD(&timer->node); } }