aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/elf.h
diff options
context:
space:
mode:
authorMichael Neuling <mikey@neuling.org>2008-07-02 08:51:37 -0400
committerPaul Mackerras <paulus@samba.org>2008-07-03 02:58:13 -0400
commit138fc1ee06e58f12fc2b755e435ce15bb36a0471 (patch)
treec553c9186d0d3d70b444680c0f500fc58ced61a4 /include/asm-powerpc/elf.h
parent6a274c08f2f4dfac7167bbd849621f3a2b55d424 (diff)
powerpc: Remove old dump_task_* functions
Since Roland's ptrace cleanup starting with commit f65255e8d51ecbc6c9eef20d39e0377d19b658ca ("[POWERPC] Use user_regset accessors for FP regs"), the dump_task_* functions are no longer being used. Signed-off-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-powerpc/elf.h')
-rw-r--r--include/asm-powerpc/elf.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/include/asm-powerpc/elf.h b/include/asm-powerpc/elf.h
index 38a51728406f..89664675b469 100644
--- a/include/asm-powerpc/elf.h
+++ b/include/asm-powerpc/elf.h
@@ -204,28 +204,8 @@ static inline void ppc_elf_core_copy_regs(elf_gregset_t elf_regs,
204} 204}
205#define ELF_CORE_COPY_REGS(gregs, regs) ppc_elf_core_copy_regs(gregs, regs); 205#define ELF_CORE_COPY_REGS(gregs, regs) ppc_elf_core_copy_regs(gregs, regs);
206 206
207static inline int dump_task_regs(struct task_struct *tsk,
208 elf_gregset_t *elf_regs)
209{
210 struct pt_regs *regs = tsk->thread.regs;
211 if (regs)
212 ppc_elf_core_copy_regs(*elf_regs, regs);
213
214 return 1;
215}
216#define ELF_CORE_COPY_TASK_REGS(tsk, elf_regs) dump_task_regs(tsk, elf_regs)
217
218extern int dump_task_fpu(struct task_struct *, elf_fpregset_t *);
219#define ELF_CORE_COPY_FPREGS(tsk, elf_fpregs) dump_task_fpu(tsk, elf_fpregs)
220
221typedef elf_vrregset_t elf_fpxregset_t; 207typedef elf_vrregset_t elf_fpxregset_t;
222 208
223#ifdef CONFIG_ALTIVEC
224extern int dump_task_altivec(struct task_struct *, elf_vrregset_t *vrregs);
225#define ELF_CORE_COPY_XFPREGS(tsk, regs) dump_task_altivec(tsk, regs)
226#define ELF_CORE_XFPREG_TYPE NT_PPC_VMX
227#endif
228
229/* ELF_HWCAP yields a mask that user programs can use to figure out what 209/* ELF_HWCAP yields a mask that user programs can use to figure out what
230 instruction set this cpu supports. This could be done in userspace, 210 instruction set this cpu supports. This could be done in userspace,
231 but it's not easy, and we've already done it here. */ 211 but it's not easy, and we've already done it here. */