]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit - fs/binfmt_elf.c
x86: replace NT_PRXFPREG with ELF_CORE_XFPREG_TYPE #define
authorMark Nelson <markn@au1.ibm.com>
Wed, 17 Oct 2007 06:25:39 +0000 (23:25 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 17 Oct 2007 15:42:44 +0000 (08:42 -0700)
commit5b20cd80b4ce1674b7abe5ac91db23346118176d
treed00339cce901048489f1ef0eedf23d57b6068234
parenteead19115329c5615ba03cbaf1c3fe24c14858a3
x86: replace NT_PRXFPREG with ELF_CORE_XFPREG_TYPE #define

Replace NT_PRXFPREG with ELF_CORE_XFPREG_TYPE in the coredump code which
allows for more flexibility in the note type for the state of 'extended
floating point' implementations in coredumps.  New note types can now be
added with an appropriate #define.

This does #define ELF_CORE_XFPREG_TYPE to be NT_PRXFPREG in all
current users so there's are no change in behaviour.

This will let us use different note types on powerpc for the Altivec/VMX
state that some PowerPC cpus have (G4, PPC970, POWER6) and for the SPE
(signal processing extension) state that some embedded PowerPC cpus from
Freescale have.

Signed-off-by: Mark Nelson <markn@au1.ibm.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Andi Kleen <ak@suse.de>
Cc: <linux-arch@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/ia64/ia32/elfcore32.h
arch/x86/ia32/ia32_binfmt.c
fs/binfmt_elf.c
fs/binfmt_elf_fdpic.c
include/asm-x86/elf_32.h