mirror of https://gitee.com/openkylin/linux.git
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
This commit is contained in:
parent
b7f1e273b7
commit
b1013f1e95
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue