diff options
Diffstat (limited to 'arch/i386')
-rw-r--r-- | arch/i386/kernel/acpi/wakeup.S | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/i386/kernel/acpi/wakeup.S b/arch/i386/kernel/acpi/wakeup.S index b781b38131c0..a2295a34b2c7 100644 --- a/arch/i386/kernel/acpi/wakeup.S +++ b/arch/i386/kernel/acpi/wakeup.S | |||
@@ -230,6 +230,7 @@ bogus_magic: | |||
230 | # | 230 | # |
231 | ENTRY(acpi_copy_wakeup_routine) | 231 | ENTRY(acpi_copy_wakeup_routine) |
232 | 232 | ||
233 | pushl %ebx | ||
233 | sgdt saved_gdt | 234 | sgdt saved_gdt |
234 | sidt saved_idt | 235 | sidt saved_idt |
235 | sldt saved_ldt | 236 | sldt saved_ldt |
@@ -263,6 +264,7 @@ ENTRY(acpi_copy_wakeup_routine) | |||
263 | movl %edx, video_flags - wakeup_start (%eax) | 264 | movl %edx, video_flags - wakeup_start (%eax) |
264 | movl $0x12345678, real_magic - wakeup_start (%eax) | 265 | movl $0x12345678, real_magic - wakeup_start (%eax) |
265 | movl $0x12345678, saved_magic | 266 | movl $0x12345678, saved_magic |
267 | popl %ebx | ||
266 | ret | 268 | ret |
267 | 269 | ||
268 | save_registers: | 270 | save_registers: |