MIPS: Don't build MSA support unless it can be used
authorPaul Burton <paul.burton@imgtec.com>
Fri, 11 Jul 2014 15:47:14 +0000 (16:47 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 1 Aug 2014 22:06:45 +0000 (00:06 +0200)
commit2a6cb6690f614b0cf4e1e06eb226c1e1374113e4
tree8b98d8224853cf28cba5927a3b9731c8d0505307
parent7daef8f261e509bea79ea3b0076e624135259bc1
MIPS: Don't build MSA support unless it can be used

MSA requires that Status.FR == 1, so for MIPS32 tasks MSA can only be
used if CONFIG_MIPS_O32_FP64_SUPPORT is enabled. If it is not & the
kernel is 32bit, there's no point including support for MSA.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/7310/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/Kconfig