Fixes: 685d16bd5 (x86: implement Hyper-V clock source) Signed-off-by: Wei Liu <li...@microsoft.com> --- I discover this stupid mistake when I work on extracting common code from viridian and the clock source implementation. --- xen/arch/x86/time.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/xen/arch/x86/time.c b/xen/arch/x86/time.c index a3c9b927e8..bbcc9b10b8 100644 --- a/xen/arch/x86/time.c +++ b/xen/arch/x86/time.c @@ -698,7 +698,8 @@ static int64_t __init init_hyperv_timer(struct platform_timesource *pts) static inline uint64_t read_hyperv_timer(void) { - uint64_t scale, offset, ret, tsc; + uint64_t scale, ret, tsc; + int64_t offset; uint32_t seq; const struct ms_hyperv_tsc_page *tsc_page = hyperv_tsc; -- 2.20.1 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel