[rtems commit] arm: Fix typo

Sebastian Huber sebh at rtems.org
Fri Jun 3 06:31:46 UTC 2022


Module:    rtems
Branch:    master
Commit:    a26b9936ff8405d6e0c8d62ac04fbce64ee6e5cc
Changeset: http://git.rtems.org/rtems/commit/?id=a26b9936ff8405d6e0c8d62ac04fbce64ee6e5cc

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri Jun  3 08:27:35 2022 +0200

arm: Fix typo

---

 cpukit/score/cpu/arm/aarch32-psma-init.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cpukit/score/cpu/arm/aarch32-psma-init.c b/cpukit/score/cpu/arm/aarch32-psma-init.c
index ee9338f050..177b2a6d7c 100644
--- a/cpukit/score/cpu/arm/aarch32-psma-init.c
+++ b/cpukit/score/cpu/arm/aarch32-psma-init.c
@@ -45,7 +45,7 @@
 #include <rtems/score/aarch32-system-registers.h>
 #include <rtems/score/cpu.h>
 
-#define AARCH32_PSMA_REGION_MAX \
+#define AARCH32_PMSA_REGION_MAX \
   ( ( AARCH32_MPUIR_REGION_MASK >> AARCH32_MPUIR_REGION_SHIFT ) + 1 )
 
 static void _AArch32_PMSA_Configure(
@@ -196,7 +196,7 @@ void _AArch32_PMSA_Initialize(
   size_t                      section_count
 )
 {
-  AArch32_PMSA_Region regions[ AARCH32_PSMA_REGION_MAX ];
+  AArch32_PMSA_Region regions[ AARCH32_PMSA_REGION_MAX ];
   size_t region_max;
   size_t region_used;
 



More information about the vc mailing list