[TRIVIAL, PPC64] Remove redundant #ifdef CONFIG_ALTIVEC

From: David Gibson
Date: Tue Oct 05 2004 - 00:32:15 EST


Andrew, please apply:

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@xxxxxxxxxxxxxxxxxxxxx>

Index: working-2.6/arch/ppc64/kernel/process.c
===================================================================
--- working-2.6.orig/arch/ppc64/kernel/process.c 2004-10-05 10:08:10.000000000 +1000
+++ working-2.6/arch/ppc64/kernel/process.c 2004-10-05 15:18:56.581996496 +1000
@@ -147,7 +147,6 @@
*/
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) {
@@ -158,7 +157,6 @@
}
preempt_enable();
}
-#endif
}

int dump_task_altivec(struct pt_regs *regs, elf_vrregset_t *vrregs)


--
David Gibson | For every complex problem there is a
david AT gibson.dropbear.id.au | solution which is simple, neat and
| wrong.
http://www.ozlabs.org/people/dgibson
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/