lkml.org 
[lkml]   [2005]   [Jul]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] Fix GDT loading during resume from suspend-to-RAM
Pavel Machek <pavel@ucw.cz> wrote:
>
> 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?


>
> ---
> 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(-)
>
> 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
>
> --
> teflon -- maybe it is a trademark, but it should not be.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-07-12 11:34    [W:0.038 / U:0.296 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site