MIPS: Don't compile math-emu when CONFIG_MIPS_FP_SUPPORT=n
authorPaul Burton <paul.burton@mips.com>
Wed, 7 Nov 2018 23:14:10 +0000 (23:14 +0000)
committerPaul Burton <paul.burton@mips.com>
Fri, 9 Nov 2018 18:23:18 +0000 (10:23 -0800)
commit42b10815d55958ec519ae7d97fdfcc6e38b4d46b
treefeb0fe90bd1eb4729bbc093e5132607c47be84b3
parent36a498035bd2e5169bbceed1e3b0c8bb0ce5a7b4
MIPS: Don't compile math-emu when CONFIG_MIPS_FP_SUPPORT=n

When CONFIG_MIPS_FP_SUPPORT=n we don't support floating point, so
there's no point compiling in our FPU emulator. Avoid doing so,
providing stub versions of dsemul cleanup functions that are called from
signal & task handling code.

Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/21012/
Cc: linux-mips@linux-mips.org
arch/mips/Makefile
arch/mips/include/asm/dsemul.h