arch/ppc64/kernel/process.c has an #ifdef CONFIG_ALTIVEC within an #ifdef
CONFIG_ALTIVEC. This patch removes the inner one.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
*/
void flush_altivec_to_thread(struct task_struct *tsk)
{
-#ifdef CONFIG_ALTIVEC
if (tsk->thread.regs) {
preempt_disable();
if (tsk->thread.regs->msr & MSR_VEC) {
}
preempt_enable();
}
-#endif
}
int dump_task_altivec(struct pt_regs *regs, elf_vrregset_t *vrregs)