summaryrefslogtreecommitdiffstats
path: root/arch/sh/include/asm/elf.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2008-09-12 16:27:46 +0200
committerPaul Mundt <lethal@linux-sh.org>2008-09-12 16:27:46 +0200
commit0e660d2d433393f983cd58fe8c54f831fa7c7713 (patch)
treed29fd22e42d6f29aa3501a19b4f5c698a31843a9 /arch/sh/include/asm/elf.h
parentsh: Check SR.DSP bit for DSP regset validity. (diff)
downloadlinux-0e660d2d433393f983cd58fe8c54f831fa7c7713.tar.xz
linux-0e660d2d433393f983cd58fe8c54f831fa7c7713.zip
sh: Tidy up ELF core dumps.
These have been using overrides for ELF_CORE_COPY_TASK_REGS and ELF_CORE_COPY_FPREGS while the generic versions can be used instead. Presently the pt_regs are also duplicated across elf_core_copy_regs() and elf_core_copy_task_regs(), this switches to simply copying out through elf_core_copy_regs() instead. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/asm/elf.h')
-rw-r--r--arch/sh/include/asm/elf.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/sh/include/asm/elf.h b/arch/sh/include/asm/elf.h
index 7c2363f8250e..6b2cec80fd15 100644
--- a/arch/sh/include/asm/elf.h
+++ b/arch/sh/include/asm/elf.h
@@ -198,12 +198,6 @@ do { \
#endif
#define SET_PERSONALITY(ex, ibcs2) set_personality(PER_LINUX_32BIT)
-struct task_struct;
-extern int dump_task_regs (struct task_struct *, elf_gregset_t *);
-extern int dump_task_fpu (struct task_struct *, elf_fpregset_t *);
-
-#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)
#ifdef CONFIG_VSYSCALL
/* vDSO has arch_setup_additional_pages */