diff options
| author | Pavel Machek <pavel@ucw.cz> | 2002-12-25 19:06:30 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2002-12-25 19:06:30 -0800 |
| commit | 99a6e15b856ffd9a91f6d85dfaa09d3a38857d7f (patch) | |
| tree | 6e3709c0ad5d04ef0c8d7f9e2f1aa420ef4b3eed | |
| parent | ac517c3f41ac2c4dd456e93365eae83d520eec61 (diff) | |
[PATCH] Make swsuspend restore DS/ES segments properly
| -rw-r--r-- | arch/i386/kernel/suspend_asm.S | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/i386/kernel/suspend_asm.S b/arch/i386/kernel/suspend_asm.S index e454ec55b824..6fe892675869 100644 --- a/arch/i386/kernel/suspend_asm.S +++ b/arch/i386/kernel/suspend_asm.S @@ -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 |
