These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / arch / x86 / kernel / acpi / wakeup_32.S
index 665c6b7..0c26b1b 100644 (file)
@@ -12,11 +12,13 @@ ENTRY(wakeup_pmode_return)
 wakeup_pmode_return:
        movw    $__KERNEL_DS, %ax
        movw    %ax, %ss
-       movw    %ax, %ds
-       movw    %ax, %es
        movw    %ax, %fs
        movw    %ax, %gs
 
+       movw    $__USER_DS, %ax
+       movw    %ax, %ds
+       movw    %ax, %es
+
        # reload the gdt, as we need the full 32 bit address
        lidt    saved_idt
        lldt    saved_ldt