x86, gdt, hibernate: Store/load GDT for hibernate path.
[deliverable/linux.git] / arch / x86 / power / hibernate_asm_32.S
index ad47daeafa4eace0e505c51aae54d43317d62233..1d0fa0e24070bbec0a8607a717dfbcc960ef38e5 100644 (file)
@@ -75,6 +75,10 @@ done:
        pushl saved_context_eflags
        popfl
 
+       /* Saved in save_processor_state. */
+       movl $saved_context, %eax
+       lgdt saved_context_gdt_desc(%eax)
+
        xorl    %eax, %eax
 
        ret
This page took 0.028757 seconds and 5 git commands to generate.