Commit 99a6e15b authored by Pavel Machek's avatar Pavel Machek Committed by Linus Torvalds

[PATCH] Make swsuspend restore DS/ES segments properly

parent ac517c3f
......@@ -64,9 +64,10 @@ ENTRY(do_magic)
jb .L1455
.p2align 4,,7
.L1453:
movl $104,%eax
movl $__USER_DS,%eax
movw %ax, %ds
movw %ax, %es
movl saved_context_esp, %esp
movl saved_context_ebp, %ebp
movl saved_context_eax, %eax
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment