aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/xen/enlighten.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/xen/enlighten.c')
-rw-r--r--arch/x86/xen/enlighten.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c
index 82cd39a6cbd3..f586e63b9a63 100644
--- a/arch/x86/xen/enlighten.c
+++ b/arch/x86/xen/enlighten.c
@@ -203,10 +203,10 @@ static unsigned long xen_get_debugreg(int reg)
203 return HYPERVISOR_get_debugreg(reg); 203 return HYPERVISOR_get_debugreg(reg);
204} 204}
205 205
206void xen_leave_lazy(void) 206static void xen_leave_lazy_cpu(void)
207{ 207{
208 paravirt_leave_lazy(paravirt_get_lazy_mode());
209 xen_mc_flush(); 208 xen_mc_flush();
209 paravirt_leave_lazy_cpu();
210} 210}
211 211
212static unsigned long xen_store_tr(void) 212static unsigned long xen_store_tr(void)
@@ -819,7 +819,7 @@ static const struct pv_cpu_ops xen_cpu_ops __initdata = {
819 819
820 .lazy_mode = { 820 .lazy_mode = {
821 .enter = paravirt_enter_lazy_cpu, 821 .enter = paravirt_enter_lazy_cpu,
822 .leave = xen_leave_lazy, 822 .leave = xen_leave_lazy_cpu,
823 }, 823 },
824}; 824};
825 825