Skip to content

Commit 0892e19

Browse files
maciej-w-rozyckigregkh
authored andcommitted
MIPS: IP27: Remove incorrect `cpu_has_fpu' override
commit 424c3781dd1cb401857585331eaaa425a13f2429 upstream. Remove unsupported forcing of `cpu_has_fpu' to 1, which makes the `nofpu' kernel parameter non-functional, and also causes a link error: ld: arch/mips/kernel/traps.o: in function `trap_init': ./arch/mips/include/asm/msa.h:(.init.text+0x348): undefined reference to `handle_fpe' ld: ./arch/mips/include/asm/msa.h:(.init.text+0x354): undefined reference to `handle_fpe' ld: ./arch/mips/include/asm/msa.h:(.init.text+0x360): undefined reference to `handle_fpe' where the CONFIG_MIPS_FP_SUPPORT configuration option has been disabled. Signed-off-by: Maciej W. Rozycki <[email protected]> Reported-by: Stephen Zhang <[email protected]> Fixes: 0ebb2f4 ("MIPS: IP27: Update/restructure CPU overrides") Cc: [email protected] # v4.2+ Signed-off-by: Thomas Bogendoerfer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 6b6bd9e commit 0892e19

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

arch/mips/include/asm/mach-ip27/cpu-feature-overrides.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
#define cpu_has_6k_cache 0
2929
#define cpu_has_8k_cache 0
3030
#define cpu_has_tx39_cache 0
31-
#define cpu_has_fpu 1
3231
#define cpu_has_nofpuex 0
3332
#define cpu_has_32fpr 1
3433
#define cpu_has_counter 1

0 commit comments

Comments
 (0)