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 Always set SMP on the A7 since it's need...
details: https://anonhg.NetBSD.org/src/rev/189f40b13837
branches: trunk
changeset: 332340:189f40b13837
user: matt <matt%NetBSD.org@localhost>
date: Tue Sep 16 22:29:09 2014 +0000
description:
Always set SMP on the A7 since it's needed for ldrex/strex
diffstat:
sys/arch/arm/cortex/a9_mpsubr.S | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r af27e23e0dda -r 189f40b13837 sys/arch/arm/cortex/a9_mpsubr.S
--- a/sys/arch/arm/cortex/a9_mpsubr.S Tue Sep 16 22:28:56 2014 +0000
+++ b/sys/arch/arm/cortex/a9_mpsubr.S Tue Sep 16 22:29:09 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: a9_mpsubr.S,v 1.22 2014/09/16 22:00:22 matt Exp $ */
+/* $NetBSD: a9_mpsubr.S,v 1.23 2014/09/16 22:29:09 matt Exp $ */
/*-
* Copyright (c) 2012 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -443,7 +443,9 @@
mcr p15, 0, r1, c8, c7, 0 // TLBIALL (just this core)
#endif
-#if defined(MULTIPROCESSOR)
+ // For the A7, SMP must be on ldrex/strex to work.
+ //
+#if defined(MULTIPROCESSOR) || defined(CPU_CORTEXA7)
#if defined(CPU_CORTEXA5) || defined(CPU_CORTEXA7) || defined(CPU_CORTEXA9)
//
// Step 4a, set ACTLR.SMP=1
Home |
Main Index |
Thread Index |
Old Index