Module Name:    src
Committed By:   skrll
Date:           Thu Jan 18 12:49:09 UTC 2018

Modified Files:
        src/sys/arch/arm/cortex: a9_mpsubr.S

Log Message:
Use r0 in the tlbiall instruction to avoid confusion.

>From Ramakrishna Rao Desetti


To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 src/sys/arch/arm/cortex/a9_mpsubr.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/arm/cortex/a9_mpsubr.S
diff -u src/sys/arch/arm/cortex/a9_mpsubr.S:1.54 src/sys/arch/arm/cortex/a9_mpsubr.S:1.55
--- src/sys/arch/arm/cortex/a9_mpsubr.S:1.54	Sun Dec 10 21:38:26 2017
+++ src/sys/arch/arm/cortex/a9_mpsubr.S	Thu Jan 18 12:49:09 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: a9_mpsubr.S,v 1.54 2017/12/10 21:38:26 skrll Exp $	*/
+/*	$NetBSD: a9_mpsubr.S,v 1.55 2018/01/18 12:49:09 skrll Exp $	*/
 /*-
  * Copyright (c) 2012 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -506,7 +506,7 @@ cortex_init:
 	// turning on SMP.
 	//
 	mov	r0, #0
-	mcr	p15, 0, r1, c8, c7, 0	// TLBIALL (just this core)
+	mcr	p15, 0, r0, c8, c7, 0	// TLBIALL (just this core)
 #endif
 
 	// For the A7, SMP must be on ldrex/strex to work.

Reply via email to