kvm/x86: move Hyper-V MSR's/hypercall code into hyperv.c file
[deliverable/linux.git] / arch / x86 / kvm / x86.h
index 0ca2f3e4803c2a5846be297a51eb5c1cf67aff4a..2f822cd886c26cb631d50c38fb933d5898bcc0c0 100644 (file)
@@ -147,6 +147,11 @@ static inline void kvm_register_writel(struct kvm_vcpu *vcpu,
        return kvm_register_write(vcpu, reg, val);
 }
 
+static inline u64 get_kernel_ns(void)
+{
+       return ktime_get_boot_ns();
+}
+
 static inline bool kvm_check_has_quirk(struct kvm *kvm, u64 quirk)
 {
        return !(kvm->arch.disabled_quirks & quirk);
This page took 0.037338 seconds and 5 git commands to generate.