Paul Burton f3575e230c MIPS: CPS: drop .set mips64r2 directives
Commit 977e043d5ea1 ("MIPS: kernel: cps-vec: Replace mips32r2 ISA level
with mips64r2") leads to .set mips64r2 directives being present in 32
bit (ie. CONFIG_32BIT=y) kernels. This is incorrect & leads to MIPS64
instructions being emitted by the assembler when expanding
pseudo-instructions. For example the "move" instruction can legitimately
be expanded to a "daddu". This causes problems when the kernel is run on
a MIPS32 CPU, as CONFIG_32BIT kernels of course often are...

Fix this by dropping the .set <ISA> directives entirely now that Kconfig
should be ensuring that kernels including this code are built with a
suitable -march= compiler flag.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: Markos Chandras <markos.chandras@imgtec.com>
Cc: James Hogan <james.hogan@imgtec.com>
Cc: <stable@vger.kernel.org> # 3.16+
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/10869/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2015-12-22 12:16:32 +01:00
..
2015-08-18 11:40:20 +02:00
2011-12-07 22:03:45 +00:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2014-08-26 13:45:51 -04:00
2014-05-24 00:07:01 +02:00
2013-02-01 10:00:22 +01:00
2015-08-26 15:23:03 +02:00
2014-05-02 16:39:10 +01:00
2015-03-19 17:39:49 +01:00
2014-08-02 00:06:37 +02:00
2015-09-03 12:08:05 +02:00
2015-09-27 14:15:26 +02:00
2015-08-26 15:23:03 +02:00
2015-11-11 08:36:46 +01:00
2014-05-24 00:07:01 +02:00
2014-05-24 00:07:01 +02:00
2009-06-24 18:34:40 +01:00
2015-09-03 12:08:05 +02:00
2014-05-24 00:07:01 +02:00