Also drop the useless inline keyword.
Fixes: 685d16bd5 (x86: implement Hyper-V clock source)
Signed-off-by: Wei Liu <liuwe@microsoft.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
return freq;
}
-static inline uint64_t read_hyperv_timer(void)
+static 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;