Fix GDT loading during resume from suspend-to-RAM
PATCH 1/1 Fix GDT loading during resume from suspend-to-RAM
Fix GDT loading during resume from suspend-to-RAM.
---
commit 523c9470749c558e002f3041f5af620acf7f3e0c tree 92b643196cbaa89fa54ff141bc94fee8664009b3 parent 79b675b6cc9268d178b3c0a2af2e4f944c5fdf9b author <pavel@amd.(none)> Tue, 12 Jul 2005 11:13:30 +0200 committer <pavel@amd.(none)> Tue, 12 Jul 2005 11:13:30 +0200
arch/i386/kernel/acpi/wakeup.S | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-)
arch/i386/kernel/acpi/wakeup.S +3 -2
@@ -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
Signature · 1 line
teflon -- maybe it is a trademark, but it should not be.
Quoted 3 lines · Pavel Machek
Fix GDT loading during resume from suspend-to-RAM.
This change is already in Len's acpi tree. Len, can you merge it for 2.6.13 please?
Quoted 29 lines
---
commit523c9470749c558e002f3041f5af620acf7f3e0ctree92b643196cbaa89fa54ff141bc94fee8664009b3parent79b675b6cc9268d178b3c0a2af2e4f944c5fdf9bauthor <pavel@amd.(none)> Tue, 12 Jul 2005 11:13:30 +0200 committer <pavel@amd.(none)> Tue, 12 Jul 2005 11:13:30 +0200arch/i386/kernel/acpi/wakeup.S | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-)arch/i386/kernel/acpi/wakeup.S +3
-2@@ -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, %cr0Signature · 2 lines
-- teflon -- maybe it is a trademark, but it should not be.