aboutsummaryrefslogtreecommitdiffstats
path: root/arch/i386/kernel/acpi/wakeup.S
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2005-07-12 16:04:50 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-12 16:04:50 -0700
commit3f603ed319d5120e883e64ac5967b2fc848fc43b (patch)
tree52ef311c245e4e4cd623b546ea1daf05a5ea8911 /arch/i386/kernel/acpi/wakeup.S
parent[PATCH] v4l: broken hybrid dvb inclusion (diff)
parent[ACPI] merge acpi-2.6.12 branch into latest Linux 2.6.13-rc... (diff)
downloadlinux-dev-3f603ed319d5120e883e64ac5967b2fc848fc43b.tar.xz
linux-dev-3f603ed319d5120e883e64ac5967b2fc848fc43b.zip
Merge master.kernel.org:/pub/scm/linux/kernel/git/lenb/linux-2.6
Diffstat (limited to 'arch/i386/kernel/acpi/wakeup.S')
-rw-r--r--arch/i386/kernel/acpi/wakeup.S5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/i386/kernel/acpi/wakeup.S b/arch/i386/kernel/acpi/wakeup.S
index 39d32484f6f5..44d886c745ec 100644
--- 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