Commit 192fbc20 authored by Paul Burton's avatar Paul Burton Committed by Ralf Baechle

MIPS: CPS: Skip Config1 presence check

The Config1 register is architecturally defined as required, and is thus
present in all systems which may make use of cps-vec.S. Skip the check
for its presence via the Config.M bit.
Signed-off-by: default avatarPaul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: Markos Chandras <markos.chandras@imgtec.com>
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/11204/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 946db173
...@@ -50,8 +50,6 @@ ...@@ -50,8 +50,6 @@
* MT is not supported then branch to nomt. * MT is not supported then branch to nomt.
*/ */
.macro has_mt dest, nomt .macro has_mt dest, nomt
mfc0 \dest, CP0_CONFIG
bgez \dest, \nomt
mfc0 \dest, CP0_CONFIG, 1 mfc0 \dest, CP0_CONFIG, 1
bgez \dest, \nomt bgez \dest, \nomt
mfc0 \dest, CP0_CONFIG, 2 mfc0 \dest, CP0_CONFIG, 2
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment