summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/head_fsl_booke.S
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2012-04-15 20:54:59 +0000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2012-04-30 15:37:16 +1000
commit8cd3c23df79411f6b24ddb7d2ed58d26e3b06815 (patch)
tree7a6085981cd7f105120f9c0f9f5006675da766f8 /arch/powerpc/kernel/head_fsl_booke.S
parent59c19cb2f6a7928a2fd3afd22bfe988e025b41d8 (diff)
downloadop-kernel-dev-8cd3c23df79411f6b24ddb7d2ed58d26e3b06815.zip
op-kernel-dev-8cd3c23df79411f6b24ddb7d2ed58d26e3b06815.tar.gz
powerpc: Remove empty giveup_altivec function on book3e CPUs
Use an empty inline instead of an empty function to implement giveup_altivec on book3e CPUs, similar to flush_altivec_to_thread. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/head_fsl_booke.S')
-rw-r--r--arch/powerpc/kernel/head_fsl_booke.S8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/powerpc/kernel/head_fsl_booke.S b/arch/powerpc/kernel/head_fsl_booke.S
index 28e6259..de80e0f 100644
--- a/arch/powerpc/kernel/head_fsl_booke.S
+++ b/arch/powerpc/kernel/head_fsl_booke.S
@@ -874,14 +874,6 @@ _GLOBAL(__setup_e500mc_ivors)
sync
blr
-/*
- * extern void giveup_altivec(struct task_struct *prev)
- *
- * The e500 core does not have an AltiVec unit.
- */
-_GLOBAL(giveup_altivec)
- blr
-
#ifdef CONFIG_SPE
/*
* extern void giveup_spe(struct task_struct *prev)
OpenPOWER on IntegriCloud