1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/arch/mips/include/asm/mach-ip27
Maciej W. Rozycki 424c3781dd MIPS: IP27: Remove incorrect `cpu_has_fpu' override
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 <macro@orcam.me.uk>
Reported-by: Stephen Zhang <starzhangzsd@gmail.com>
Fixes: 0ebb2f4159 ("MIPS: IP27: Update/restructure CPU overrides")
Cc: stable@vger.kernel.org # v4.2+
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
2022-05-04 22:23:14 +02:00
..
cpu-feature-overrides.h MIPS: IP27: Remove incorrect `cpu_has_fpu' override 2022-05-04 22:23:14 +02:00
irq.h MIPS: Add header files reference with path prefix 2020-03-19 13:12:27 +01:00
kernel-entry-init.h MIPS: SGI-IP27: move IP27 specific macro to IP27 specific header file 2020-01-09 15:29:53 -08:00
mangle-port.h MIPS: io: fix sparse flood on asm/io.h 2020-06-25 10:36:39 +02:00
mmzone.h MIPS: SGI-IP27: No need for slice_map 2020-01-09 15:30:07 -08:00
spaces.h MIPS: SGI-IP27: Use the _AC() macro in spaces.h 2020-05-15 09:10:40 +02:00
topology.h MIPS: SGI-IP27: Store cpu speed when scanning for CPUs and use it later 2020-01-09 15:30:06 -08:00