Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1230659

[PATCH 05/10] MIPS: CPS: skip Config1 presence check

From Paul Burton <paul.burton@imgtec.com>
Newsgroups linux.kernel
Subject [PATCH 05/10] MIPS: CPS: skip Config1 presence check
Date 2015-09-22 20:20 +0200
Message-ID <qbAkA-4J7-79@gated-at.bofh.it> (permalink)
References <qbAkx-4J7-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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: Paul Burton <paul.burton@imgtec.com>
---

 arch/mips/kernel/cps-vec.S | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/arch/mips/kernel/cps-vec.S b/arch/mips/kernel/cps-vec.S
index 5407ce4..84af91a 100644
--- a/arch/mips/kernel/cps-vec.S
+++ b/arch/mips/kernel/cps-vec.S
@@ -50,9 +50,7 @@
 	 * MT is not supported then branch to 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
 	 mfc0	\dest, CP0_CONFIG, 2
 	bgez	\dest, \nomt
-- 
2.5.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 00/10] CPS SMP fixes & debug improvements Paul Burton <paul.burton@imgtec.com> - 2015-09-22 20:20 +0200
  [PATCH 08/10] MIPS: CM: introduce core-other locking functions Paul Burton <paul.burton@imgtec.com> - 2015-09-22 20:20 +0200
  [PATCH 05/10] MIPS: CPS: skip Config1 presence check Paul Burton <paul.burton@imgtec.com> - 2015-09-22 20:20 +0200
  [PATCH 01/10] MIPS: CPS: set Status.BEV bit during early boot Paul Burton <paul.burton@imgtec.com> - 2015-09-22 20:20 +0200

csiph-web