diff options
Diffstat (limited to 'arch/powerpc/kernel/process.c')
-rw-r--r-- | arch/powerpc/kernel/process.c | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/arch/powerpc/kernel/process.c b/arch/powerpc/kernel/process.c index d52ded366f14..1924b57bd241 100644 --- a/arch/powerpc/kernel/process.c +++ b/arch/powerpc/kernel/process.c | |||
@@ -162,7 +162,7 @@ void flush_altivec_to_thread(struct task_struct *tsk) | |||
162 | } | 162 | } |
163 | } | 163 | } |
164 | 164 | ||
165 | int dump_task_altivec(struct task_struct *tsk, elf_vrreg_t *vrregs) | 165 | int dump_task_altivec(struct task_struct *tsk, elf_vrregset_t *vrregs) |
166 | { | 166 | { |
167 | /* ELF_NVRREG includes the VSCR and VRSAVE which we need to save | 167 | /* ELF_NVRREG includes the VSCR and VRSAVE which we need to save |
168 | * separately, see below */ | 168 | * separately, see below */ |
@@ -249,23 +249,6 @@ int dump_task_vsx(struct task_struct *tsk, elf_vrreg_t *vrregs) | |||
249 | } | 249 | } |
250 | #endif /* CONFIG_VSX */ | 250 | #endif /* CONFIG_VSX */ |
251 | 251 | ||
252 | int dump_task_vector(struct task_struct *tsk, elf_vrregset_t *vrregs) | ||
253 | { | ||
254 | int rc = 0; | ||
255 | elf_vrreg_t *regs = (elf_vrreg_t *)vrregs; | ||
256 | #ifdef CONFIG_ALTIVEC | ||
257 | rc = dump_task_altivec(tsk, regs); | ||
258 | if (rc) | ||
259 | return rc; | ||
260 | regs += ELF_NVRREG; | ||
261 | #endif | ||
262 | |||
263 | #ifdef CONFIG_VSX | ||
264 | rc = dump_task_vsx(tsk, regs); | ||
265 | #endif | ||
266 | return rc; | ||
267 | } | ||
268 | |||
269 | #ifdef CONFIG_SPE | 252 | #ifdef CONFIG_SPE |
270 | 253 | ||
271 | void enable_kernel_spe(void) | 254 | void enable_kernel_spe(void) |