Message ID | 1499086625-15995-7-git-send-email-marcelo.cerri@canonical.com |
---|---|
State | New |
Headers | show |
diff --git a/drivers/hv/hv_util.c b/drivers/hv/hv_util.c index 45a4f92ecb39..b2cc46e3dd86 100644 --- a/drivers/hv/hv_util.c +++ b/drivers/hv/hv_util.c @@ -580,6 +580,8 @@ static int hv_timesync_init(struct hv_util_service *srv) if (!hyperv_cs) return -ENODEV; + spin_lock_init(&host_ts.lock); + INIT_WORK(&wrk.work, hv_set_host_time); /*