Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/cortex Make sure to read SCTRL no matter way CP...



details:   https://anonhg.NetBSD.org/src/rev/1e706587c8e7
branches:  trunk
changeset: 802450:1e706587c8e7
user:      matt <matt%NetBSD.org@localhost>
date:      Mon Sep 15 00:35:37 2014 +0000

description:
Make sure to read SCTRL no matter way CPU we are on.

diffstat:

 sys/arch/arm/cortex/a9_mpsubr.S |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 88297de4639b -r 1e706587c8e7 sys/arch/arm/cortex/a9_mpsubr.S
--- a/sys/arch/arm/cortex/a9_mpsubr.S   Sun Sep 14 21:06:37 2014 +0000
+++ b/sys/arch/arm/cortex/a9_mpsubr.S   Mon Sep 15 00:35:37 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: a9_mpsubr.S,v 1.18 2014/05/21 01:02:45 ozaki-r Exp $   */
+/*     $NetBSD: a9_mpsubr.S,v 1.19 2014/09/15 00:35:37 matt Exp $      */
 /*-
  * Copyright (c) 2012 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -343,8 +343,8 @@
        bxne    r10                             // return if set
 #endif
 
+       mrc     p15, 0, r4, c1, c0, 0           // SCTLR read
 #if defined(CPU_CORTEXA7)
-       mrc     p15, 0, r4, c1, c0, 0           // SCTLR read
        //
        // Before turning on SMP, turn off the caches and the MMU.
        //



Home | Main Index | Thread Index | Old Index