diff options
-rw-r--r-- | arch/x86/xen/enlighten.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c index 9d94483b3b5e..8b60982e457a 100644 --- a/arch/x86/xen/enlighten.c +++ b/arch/x86/xen/enlighten.c | |||
@@ -1076,6 +1076,9 @@ static const struct pv_cpu_ops xen_cpu_ops __initdata = { | |||
1076 | .set_iopl_mask = xen_set_iopl_mask, | 1076 | .set_iopl_mask = xen_set_iopl_mask, |
1077 | .io_delay = xen_io_delay, | 1077 | .io_delay = xen_io_delay, |
1078 | 1078 | ||
1079 | /* Xen takes care of %gs when switching to usermode for us */ | ||
1080 | .swapgs = paravirt_nop, | ||
1081 | |||
1079 | .lazy_mode = { | 1082 | .lazy_mode = { |
1080 | .enter = paravirt_enter_lazy_cpu, | 1083 | .enter = paravirt_enter_lazy_cpu, |
1081 | .leave = xen_leave_lazy, | 1084 | .leave = xen_leave_lazy, |