linux/include
Roland McGrath ab799dede9 Add linux/elfcore-compat.h
This adds the linux/elfcore-compat.h header file, which is the CONFIG_COMPAT
analog of the linux/elfcore.h header.  Each arch that needs to fake out
fs/binfmt_elf.c for its compat code can use this header to replace the
hand-copied definitions of the compat variants of struct elf_prstatus et al.
Only the pr_reg field varies by arch, so asm/{compat,elf}.h must define
compat_elf_gregset_t before linux/elfcore-compat.h can be used.

It's a clean-up that every arch with compat core dumping code can benefit
from.  I only touched the ones I have handy to test at home.  Doing the same
for each other arch should be straightforward, and I'm happy to offer tips.

Signed-off-by: Roland McGrath <roland@redhat.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Andi Kleen <ak@suse.de>
Cc: "Luck, Tony" <tony.luck@intel.com>
Cc: <linux-arch@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-10-17 08:42:51 -07:00
..
acpi
asm-alpha kill DECLARE_MUTEX_LOCKED 2007-10-17 08:42:47 -07:00
asm-arm kill DECLARE_MUTEX_LOCKED 2007-10-17 08:42:47 -07:00
asm-arm26 softlockup: make asm/irq_regs.h available on every platform 2007-10-17 08:42:47 -07:00
asm-avr32 kill DECLARE_MUTEX_LOCKED 2007-10-17 08:42:47 -07:00
asm-blackfin kill DECLARE_MUTEX_LOCKED 2007-10-17 08:42:47 -07:00
asm-cris kill DECLARE_MUTEX_LOCKED 2007-10-17 08:42:47 -07:00
asm-frv kill DECLARE_MUTEX_LOCKED 2007-10-17 08:42:47 -07:00
asm-generic unexport asm/shmparam.h 2007-10-17 08:42:47 -07:00
asm-h8300 kill DECLARE_MUTEX_LOCKED 2007-10-17 08:42:47 -07:00
asm-ia64 kill DECLARE_MUTEX_LOCKED 2007-10-17 08:42:47 -07:00
asm-m32r kill DECLARE_MUTEX_LOCKED 2007-10-17 08:42:47 -07:00
asm-m68k kill DECLARE_MUTEX_LOCKED 2007-10-17 08:42:47 -07:00
asm-m68knommu kill DECLARE_MUTEX_LOCKED 2007-10-17 08:42:47 -07:00
asm-mips kill DECLARE_MUTEX_LOCKED 2007-10-17 08:42:47 -07:00
asm-parisc kill DECLARE_MUTEX_LOCKED 2007-10-17 08:42:47 -07:00
asm-powerpc kill DECLARE_MUTEX_LOCKED 2007-10-17 08:42:47 -07:00
asm-ppc softlockup: make asm/irq_regs.h available on every platform 2007-10-17 08:42:47 -07:00
asm-s390 kill DECLARE_MUTEX_LOCKED 2007-10-17 08:42:47 -07:00
asm-sh kill DECLARE_MUTEX_LOCKED 2007-10-17 08:42:47 -07:00
asm-sh64 kill DECLARE_MUTEX_LOCKED 2007-10-17 08:42:47 -07:00
asm-sparc kill DECLARE_MUTEX_LOCKED 2007-10-17 08:42:47 -07:00
asm-sparc64 kill DECLARE_MUTEX_LOCKED 2007-10-17 08:42:47 -07:00
asm-um uml: style fixes in FP code 2007-10-16 09:43:07 -07:00
asm-v850 kill DECLARE_MUTEX_LOCKED 2007-10-17 08:42:47 -07:00
asm-x86 kill DECLARE_MUTEX_LOCKED 2007-10-17 08:42:47 -07:00
asm-xtensa kill DECLARE_MUTEX_LOCKED 2007-10-17 08:42:47 -07:00
crypto
keys
linux Add linux/elfcore-compat.h 2007-10-17 08:42:51 -07:00
math-emu
media
mtd
net
pcmcia
rdma
rxrpc
scsi
sound
video pm2fb: hardware cursor support for the Permedia2 2007-10-16 09:43:18 -07:00
xen
Kbuild