# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
#   2005/04/08 23:37:34-04:00 len.brown@intel.com 
#   [ACPI] S3 resume -- use lgdtl, not lgdt
#   
#   From: Nickolai Zeldovich <kolya@MIT.EDU>
#   Signed-off-by: Len Brown <len.brown@intel.com>
# 
# arch/i386/kernel/acpi/wakeup.S
#   2005/04/08 23:37:13-04:00 len.brown@intel.com +3 -2
#   use lgdtl
# 
Index: linux-2.6.13/arch/i386/kernel/acpi/wakeup.S
===================================================================
--- linux-2.6.13.orig/arch/i386/kernel/acpi/wakeup.S	2005-07-10 01:01:33.000000000 -0400
+++ linux-2.6.13/arch/i386/kernel/acpi/wakeup.S	2005-07-10 01:05:37.000000000 -0400
@@ -74,8 +74,9 @@
 	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
