You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ma...@apache.org on 2022/02/26 05:15:39 UTC
[incubator-nuttx] branch master updated: arm/armv7-a: Remove CONFIG_SMP guard from arm_scu.c
This is an automated email from the ASF dual-hosted git repository.
masayuki pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new b95022f arm/armv7-a: Remove CONFIG_SMP guard from arm_scu.c
b95022f is described below
commit b95022f8def6b320a87c26300033665d2175f3ed
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Sat Feb 26 02:14:12 2022 +0800
arm/armv7-a: Remove CONFIG_SMP guard from arm_scu.c
since ACTLR.SMP need enable to make cache work on Cortex A7:
https://developer.arm.com/documentation/ddi0464/f/CHDBIEIF
Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
---
arch/arm/src/armv7-a/arm_scu.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/arch/arm/src/armv7-a/arm_scu.c b/arch/arm/src/armv7-a/arm_scu.c
index 8fb1483..4fd63c9 100644
--- a/arch/arm/src/armv7-a/arm_scu.c
+++ b/arch/arm/src/armv7-a/arm_scu.c
@@ -32,8 +32,6 @@
#include "sctlr.h"
#include "scu.h"
-#ifdef CONFIG_SMP
-
/****************************************************************************
* Private Functions
****************************************************************************/
@@ -208,5 +206,3 @@ void arm_enable_smp(int cpu)
regval |= SCTLR_C;
arm_set_sctlr(regval);
}
-
-#endif