linux-arch.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: Mark Nelson <markn@au1.ibm.com>
Cc: ak@suse.de, linux-arch@vger.kernel.org, mingo@elte.hu,
	paulus@samba.org, tglx@linutronix.de
Subject: Re: Add missing ELF_CORE_XFPREG_TYPE #define to x86
Date: Wed, 17 Oct 2007 18:05:17 -0700	[thread overview]
Message-ID: <20071017180517.0322270d.akpm@linux-foundation.org> (raw)
In-Reply-To: <47141A5E.3010000@au1.ibm.com>

On Tue, 16 Oct 2007 11:56:46 +1000
Mark Nelson <markn@au1.ibm.com> wrote:

> Add two missing #define ELF_CORE_XFPREG_TYPE NT_PRXFPREG to x86
> 
> Signed-off-by: Mark Nelson <markn@au1.ibm.com>
> ---
> Andrew: These two hunks were lost from
> replace-nt_prxfpreg-with-elf_core_xfpreg_type-define.patch because
> of the merger of i386 and x86_64 (and my incredibly bad timing for
> sending this patch). Apologies and thanks.
> 
>  arch/x86/ia32/ia32_binfmt.c |    1 +
>  include/asm-x86/elf_32.h    |    1 +
>  2 files changed, 2 insertions(+)
> 
> Index: linus/arch/x86/ia32/ia32_binfmt.c
> ===================================================================
> --- linus.orig/arch/x86/ia32/ia32_binfmt.c
> +++ linus/arch/x86/ia32/ia32_binfmt.c
> @@ -188,6 +188,7 @@ elf_core_copy_task_fpregs(struct task_st
>  }
>  
>  #define ELF_CORE_COPY_XFPREGS 1
> +#define ELF_CORE_XFPREG_TYPE NT_PRXFPREG
>  static inline int 
>  elf_core_copy_task_xfpregs(struct task_struct *t, elf_fpxregset_t *xfpu)
>  {
> Index: linus/include/asm-x86/elf_32.h
> ===================================================================
> --- linus.orig/include/asm-x86/elf_32.h
> +++ linus/include/asm-x86/elf_32.h
> @@ -129,6 +129,7 @@ extern int dump_task_extended_fpu (struc
>  #define ELF_CORE_COPY_TASK_REGS(tsk, elf_regs) dump_task_regs(tsk, elf_regs)
>  #define ELF_CORE_COPY_FPREGS(tsk, elf_fpregs) dump_task_fpu(tsk, elf_fpregs)
>  #define ELF_CORE_COPY_XFPREGS(tsk, elf_xfpregs) dump_task_extended_fpu(tsk, elf_xfpregs)
> +#define ELF_CORE_XFPREG_TYPE NT_PRXFPREG
>  
>  #define VDSO_HIGH_BASE		(__fix_to_virt(FIX_VDSO))
>  #define VDSO_CURRENT_BASE	((unsigned long)current->mm->context.vdso)

I'm not sure what happened here.  My current copy of
replace-nt_prxfpreg-with-elf_core_xfpreg_type-define.patch has the above
changes in it, and the commit which went into mainline this morning looks
to be OK.


  reply	other threads:[~2007-10-18  1:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-15 20:19 + replace-nt_prxfpreg-with-elf_core_xfpreg_type-define.patch added to -mm tree akpm
2007-10-16  1:56 ` Add missing ELF_CORE_XFPREG_TYPE #define to x86 Mark Nelson
2007-10-18  1:05   ` Andrew Morton [this message]
2007-10-18  4:01     ` Mark Nelson

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=20071017180517.0322270d.akpm@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=ak@suse.de \
    --cc=linux-arch@vger.kernel.org \
    --cc=markn@au1.ibm.com \
    --cc=mingo@elte.hu \
    --cc=paulus@samba.org \
    --cc=tglx@linutronix.de \
    /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;
as well as URLs for NNTP newsgroup(s).