mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: Pavel Machek <pavel@ucw.cz>
Cc: linux-kernel@vger.kernel.org, "Brown, Len" <len.brown@intel.com>
Subject: Re: [patch] Fix GDT loading during resume from suspend-to-RAM
Date: Tue, 12 Jul 2005 02:30:13 -0700	[thread overview]
Message-ID: <20050712023013.42b52651.akpm@osdl.org> (raw)
In-Reply-To: <20050712091400.GI1854@elf.ucw.cz>

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.

      reply	other threads:[~2005-07-12  9:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-12  9:14 Pavel Machek
2005-07-12  9:30 ` Andrew Morton [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050712023013.42b52651.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=len.brown@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pavel@ucw.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®