x86/paravirt: finish change from lazy cpu to context switch start/end
[deliverable/linux.git] / arch / x86 / xen / enlighten.c
index f586e63b9a6323cf7bb291f4c12c0fad36095a45..70b355d3a86c4c62c494c0ba71faf7c6b12da06c 100644 (file)
@@ -203,10 +203,10 @@ static unsigned long xen_get_debugreg(int reg)
        return HYPERVISOR_get_debugreg(reg);
 }
 
-static void xen_leave_lazy_cpu(void)
+static void xen_end_context_switch(struct task_struct *next)
 {
        xen_mc_flush();
-       paravirt_leave_lazy_cpu();
+       paravirt_end_context_switch(next);
 }
 
 static unsigned long xen_store_tr(void)
@@ -817,10 +817,8 @@ static const struct pv_cpu_ops xen_cpu_ops __initdata = {
        /* Xen takes care of %gs when switching to usermode for us */
        .swapgs = paravirt_nop,
 
-       .lazy_mode = {
-               .enter = paravirt_enter_lazy_cpu,
-               .leave = xen_leave_lazy_cpu,
-       },
+       .start_context_switch = paravirt_start_context_switch,
+       .end_context_switch = xen_end_context_switch,
 };
 
 static const struct pv_apic_ops xen_apic_ops __initdata = {
This page took 0.139408 seconds and 5 git commands to generate.