svn commit: r275416 - head/sys/arm/arm

Andrew Turner andrew at FreeBSD.org
Tue Dec 2 18:20:54 UTC 2014


Author: andrew
Date: Tue Dec  2 18:20:53 2014
New Revision: 275416
URL: https://svnweb.freebsd.org/changeset/base/275416

Log:
  Fix the name of the coprocessor to include the "p" prefix, the clang
  integrated assembler expects this.
  
  MFC after:	1 Week
  Sponsored by:	ABT Systems Ltd

Modified:
  head/sys/arm/arm/locore.S

Modified: head/sys/arm/arm/locore.S
==============================================================================
--- head/sys/arm/arm/locore.S	Tue Dec  2 18:12:16 2014	(r275415)
+++ head/sys/arm/arm/locore.S	Tue Dec  2 18:20:53 2014	(r275416)
@@ -511,8 +511,8 @@ ENTRY_NP(cpu_halt)
 	 * Hurl ourselves into the ROM
 	 */
 	mov	r0, #(CPU_CONTROL_32BP_ENABLE | CPU_CONTROL_32BD_ENABLE)
-	mcr     15, 0, r0, c1, c0, 0
-	mcrne   15, 0, r2, c8, c7, 0 	/* nail I+D TLB on ARMv4 and greater */
+	mcr     p15, 0, r0, c1, c0, 0
+	mcrne   p15, 0, r2, c8, c7, 0 	/* nail I+D TLB on ARMv4 and greater */
 	mov     pc, r4
 
 	/*


More information about the svn-src-all mailing list