diff options
Diffstat (limited to 'include/asm-powerpc/elf.h')
-rw-r--r-- | include/asm-powerpc/elf.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/asm-powerpc/elf.h b/include/asm-powerpc/elf.h index e42820d6d25b..5b9e3f41d649 100644 --- a/include/asm-powerpc/elf.h +++ b/include/asm-powerpc/elf.h | |||
@@ -212,6 +212,14 @@ static inline int dump_task_regs(struct task_struct *tsk, | |||
212 | extern int dump_task_fpu(struct task_struct *, elf_fpregset_t *); | 212 | extern int dump_task_fpu(struct task_struct *, elf_fpregset_t *); |
213 | #define ELF_CORE_COPY_FPREGS(tsk, elf_fpregs) dump_task_fpu(tsk, elf_fpregs) | 213 | #define ELF_CORE_COPY_FPREGS(tsk, elf_fpregs) dump_task_fpu(tsk, elf_fpregs) |
214 | 214 | ||
215 | typedef elf_vrregset_t elf_fpxregset_t; | ||
216 | |||
217 | #ifdef CONFIG_ALTIVEC | ||
218 | extern int dump_task_altivec(struct task_struct *, elf_vrregset_t *vrregs); | ||
219 | #define ELF_CORE_COPY_XFPREGS(tsk, regs) dump_task_altivec(tsk, regs) | ||
220 | #define ELF_CORE_XFPREG_TYPE NT_PPC_VMX | ||
221 | #endif | ||
222 | |||
215 | #endif /* __KERNEL__ */ | 223 | #endif /* __KERNEL__ */ |
216 | 224 | ||
217 | /* ELF_HWCAP yields a mask that user programs can use to figure out what | 225 | /* ELF_HWCAP yields a mask that user programs can use to figure out what |