Merge branch 'x86-vdso-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[firefly-linux-kernel-4.4.55.git] / arch / x86 / kernel / paravirt.c
index 681f159942184a0a4ae48a374999d16dd2f78574..d90272e6bc40bc75f34dfbcf158ffce3769203ab 100644 (file)
@@ -202,6 +202,14 @@ static void native_flush_tlb_single(unsigned long addr)
        __native_flush_tlb_single(addr);
 }
 
+struct jump_label_key paravirt_steal_enabled;
+struct jump_label_key paravirt_steal_rq_enabled;
+
+static u64 native_steal_clock(int cpu)
+{
+       return 0;
+}
+
 /* These are in entry.S */
 extern void native_iret(void);
 extern void native_irq_enable_sysexit(void);
@@ -311,6 +319,7 @@ struct pv_init_ops pv_init_ops = {
 
 struct pv_time_ops pv_time_ops = {
        .sched_clock = native_sched_clock,
+       .steal_clock = native_steal_clock,
 };
 
 struct pv_irq_ops pv_irq_ops = {