Skip to content

Commit b1013f1

Browse files
committed
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 <[email protected]> Patchwork: https://patchwork.linux-mips.org/patch/21018/ Cc: [email protected]
1 parent b7f1e27 commit b1013f1

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

arch/mips/kernel/bmips_5xxx_init.S

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -632,12 +632,6 @@ core_init:
632632
bal set_zephyr
633633
nop
634634

635-
#if ENABLE_FPU==1
636-
/* initialize the Floating point unit (both TPs) */
637-
bal init_fpu
638-
nop
639-
#endif
640-
641635
/* set low latency memory bus */
642636
li a0, 1
643637
bal set_llmb

0 commit comments

Comments
 (0)