summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/switch_to.h
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2015-10-29 01:43:57 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2015-12-01 03:52:24 +0100
commitaf1bbc3dd3d501d27da72e1764afe5f5b0d3882d (patch)
tree99e12a987162dce90c51b7f7ccb2b3e23b154c4b /arch/powerpc/include/asm/switch_to.h
parentpowerpc: Remove redundant mflr in _switch (diff)
downloadlinux-af1bbc3dd3d501d27da72e1764afe5f5b0d3882d.tar.xz
linux-af1bbc3dd3d501d27da72e1764afe5f5b0d3882d.zip
powerpc: Remove UP only lazy floating point and vector optimisations
The UP only lazy floating point and vector optimisations were written back when SMP was not common, and neither glibc nor gcc used vector instructions. Now SMP is very common, glibc aggressively uses vector instructions and gcc autovectorises. We want to add new optimisations that apply to both UP and SMP, but in preparation for that remove these UP only optimisations. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include/asm/switch_to.h')
-rw-r--r--arch/powerpc/include/asm/switch_to.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/powerpc/include/asm/switch_to.h b/arch/powerpc/include/asm/switch_to.h
index 33a071d24ba8..bd1d93318350 100644
--- a/arch/powerpc/include/asm/switch_to.h
+++ b/arch/powerpc/include/asm/switch_to.h
@@ -27,14 +27,6 @@ extern void giveup_spe(struct task_struct *);
extern void load_up_spe(struct task_struct *);
extern void switch_booke_debug_regs(struct debug_reg *new_debug);
-#ifndef CONFIG_SMP
-extern void discard_lazy_cpu_state(void);
-#else
-static inline void discard_lazy_cpu_state(void)
-{
-}
-#endif
-
#ifdef CONFIG_PPC_FPU
extern void flush_fp_to_thread(struct task_struct *);
extern void giveup_fpu(struct task_struct *);