]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: mm: Only build one microassembler that is suitable
authorMaciej W. Rozycki <macro@codesourcery.com>
Sat, 15 Nov 2014 22:07:21 +0000 (22:07 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 24 Nov 2014 06:45:36 +0000 (07:45 +0100)
commit27036b6a2ac3addf8cdc584b05269f7cfe1bd2af
tree39468b5ab7e2f482626f7f7b9a85fff116deeea4
parent08e3cf95680bed48cb5f1b5caba4023a8dc553b8
MIPS: mm: Only build one microassembler that is suitable

The microMIPS microassembler is only suitable for configurations where
the kernel itself is built to microMIPS machine code and not where only
user microMIPS software is supported.  The former is controlled with the
CPU_MICROMIPS configuration setting, whereas SYS_SUPPORTS_MICROMIPS is
used for the latter.

Not only that, but with a given microMIPS vs standard MIPS kernel
configuration only one microassembler is needed, that matches the ISA
selected -- CP0.Config3.ISAOnExc is mandatory on microMIPS processors,
so there is never a need to mix microMIPS and standard MIPS code.

Consequently build only the microassembler that matches the ISA selected
for the kernel.

Signed-off-by: Maciej W. Rozycki <macro@codesourcery.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/8479/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mm/Makefile