tree d628c8be86e066f11c5967c5ee02c7248993607d
parent c9c3e457de24cca2ca688fa397d93a241f472048
author Nickolai Zeldovich <[EMAIL PROTECTED]> Sat, 09 Apr 2005 07:37:34 -0400
committer Len Brown <[EMAIL PROTECTED]> Tue, 12 Jul 2005 08:04:31 -0400

[ACPI] S3 resume -- use lgdtl, not lgdt

From: Nickolai Zeldovich <[EMAIL PROTECTED]>
Signed-off-by: Len Brown <[EMAIL PROTECTED]>

 arch/i386/kernel/acpi/wakeup.S |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/arch/i386/kernel/acpi/wakeup.S b/arch/i386/kernel/acpi/wakeup.S
--- 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
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to