diff options
author | Paul Burton <paul.burton@mips.com> | 2018-11-07 23:13:58 +0000 |
---|---|---|
committer | Paul Burton <paul.burton@mips.com> | 2018-11-08 11:20:57 -0800 |
commit | b1013f1e95d59c238423f4127ae0a85851a4bdd7 (patch) | |
tree | 53e4b55ae84226f723966864fcce81b302679317 /arch | |
parent | b7f1e273b7290b1d472c57bf419f4fa28d535a1f (diff) |
MIPS: BCM5xxx: Remove dead init_fpu code
The BMIPS5xxx core_init function contains a call to an init_fpu function
inside an #ifdef whose condition never evaluates true. Remove the dead
code. FPU initialization happens later, primarily when a userland
program attempts to use it.
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/21018/
Cc: linux-mips@linux-mips.org
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/kernel/bmips_5xxx_init.S | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/mips/kernel/bmips_5xxx_init.S b/arch/mips/kernel/bmips_5xxx_init.S index adaa82e00f2b..9e422d186a17 100644 --- a/arch/mips/kernel/bmips_5xxx_init.S +++ b/arch/mips/kernel/bmips_5xxx_init.S @@ -632,12 +632,6 @@ core_init: bal set_zephyr nop -#if ENABLE_FPU==1 - /* initialize the Floating point unit (both TPs) */ - bal init_fpu - nop -#endif - /* set low latency memory bus */ li a0, 1 bal set_llmb |