projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9c3e45
)
[ACPI] S3 resume -- use lgdtl, not lgdt
author
Nickolai Zeldovich
<kolya@MIT.EDU>
Sat, 9 Apr 2005 03:37:34 +0000
(23:37 -0400)
committer
Len Brown
<len.brown@intel.com>
Tue, 12 Jul 2005 04:04:31 +0000
(
00:04
-0400)
From: Nickolai Zeldovich <kolya@MIT.EDU>
Signed-off-by: Len Brown <len.brown@intel.com>
arch/i386/kernel/acpi/wakeup.S
patch
|
blob
|
history
diff --git
a/arch/i386/kernel/acpi/wakeup.S
b/arch/i386/kernel/acpi/wakeup.S
index 39d32484f6f58d9db03f6bfee79ca3f3c87c3fab..44d886c745ecc26063d88fed02a6d4929461337f 100644
(file)
--- a/
arch/i386/kernel/acpi/wakeup.S
+++ b/
arch/i386/kernel/acpi/wakeup.S
@@
-74,8
+74,9
@@
wakeup_code:
movw %ax,%fs
movw $0x0e00 + 'i', %fs:(0x12)
- # need a gdt
- lgdt real_save_gdt - wakeup_code
+ # need a gdt -- use lgdtl to force 32-bit operands, in case
+ # the GDT is located past 16 megabytes.
+ lgdtl real_save_gdt - wakeup_code
movl real_save_cr0 - wakeup_code, %eax
movl %eax, %cr0