Skip to content

Commit 260b37a

Browse files
ZideChen0jren1
authored andcommitted
HV: Fix the missing list_head initializaiton
Signed-off-by: Zide Chen <zide.chen@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
1 parent e386a81 commit 260b37a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

hypervisor/include/arch/x86/timer.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ static inline void initialize_timer(struct timer *timer,
6161
timer->fire_tsc = fire_tsc;
6262
timer->mode = mode;
6363
timer->period_in_cycle = period_in_cycle;
64+
INIT_LIST_HEAD(&timer->node);
6465
}
6566
}
6667

0 commit comments

Comments
 (0)