summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/head_44x.S
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2012-04-15 22:54:59 +0200
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2012-04-30 07:37:16 +0200
commit8cd3c23df79411f6b24ddb7d2ed58d26e3b06815 (patch)
tree7a6085981cd7f105120f9c0f9f5006675da766f8 /arch/powerpc/kernel/head_44x.S
parentpowerpc: Reformat lppaca.h (diff)
downloadlinux-8cd3c23df79411f6b24ddb7d2ed58d26e3b06815.tar.xz
linux-8cd3c23df79411f6b24ddb7d2ed58d26e3b06815.zip
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_44x.S')
-rw-r--r--arch/powerpc/kernel/head_44x.S8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/powerpc/kernel/head_44x.S b/arch/powerpc/kernel/head_44x.S
index 7dd2981bcc50..22d608e8bb7d 100644
--- a/arch/powerpc/kernel/head_44x.S
+++ b/arch/powerpc/kernel/head_44x.S
@@ -778,14 +778,6 @@ _GLOBAL(__fixup_440A_mcheck)
blr
/*
- * extern void giveup_altivec(struct task_struct *prev)
- *
- * The 44x core does not have an AltiVec unit.
- */
-_GLOBAL(giveup_altivec)
- blr
-
-/*
* extern void giveup_fpu(struct task_struct *prev)
*
* The 44x core does not have an FPU.