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 we set ACTLR.SMP=1 for CPU_COR...



details:   https://anonhg.NetBSD.org/src/rev/4114b67d53e8
branches:  trunk
changeset: 336015:4114b67d53e8
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sat Feb 07 02:39:56 2015 +0000

description:
make sure we set ACTLR.SMP=1 for CPU_CORTEXA5 in !MP case, ok matt@

diffstat:

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

diffs (18 lines):

diff -r ffb8f5fd6ce5 -r 4114b67d53e8 sys/arch/arm/cortex/a9_mpsubr.S
--- a/sys/arch/arm/cortex/a9_mpsubr.S   Sat Feb 07 00:08:34 2015 +0000
+++ b/sys/arch/arm/cortex/a9_mpsubr.S   Sat Feb 07 02:39:56 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: a9_mpsubr.S,v 1.26 2014/12/02 22:57:08 matt Exp $      */
+/*     $NetBSD: a9_mpsubr.S,v 1.27 2015/02/07 02:39:56 jmcneill Exp $  */
 /*-
  * Copyright (c) 2012 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -445,7 +445,7 @@
 
        // For the A7, SMP must be on ldrex/strex to work.
        //
-#if defined(MULTIPROCESSOR) || defined(CPU_CORTEXA7) || defined(CPU_CORTEXA9) || defined(CPU_CORTEXA17)
+#if defined(MULTIPROCESSOR) || defined(CPU_CORTEXA5) || defined(CPU_CORTEXA7) || defined(CPU_CORTEXA9) || defined(CPU_CORTEXA17)
 #if defined(CPU_CORTEXA5) || defined(CPU_CORTEXA7) || defined(CPU_CORTEXA9) || defined(CPU_CORTEXA17)
        //
        // Step 4a, set ACTLR.SMP=1



Home | Main Index | Thread Index | Old Index