[rtems commit] bsps/arm: Update due to API changes

Sebastian Huber sebh at rtems.org
Fri Jun 26 09:23:24 UTC 2015


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri Jun 26 09:40:03 2015 +0200

bsps/arm: Update due to API changes

---

 c/src/lib/libbsp/arm/shared/arm-cp15-set-exception-handler.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/c/src/lib/libbsp/arm/shared/arm-cp15-set-exception-handler.c b/c/src/lib/libbsp/arm/shared/arm-cp15-set-exception-handler.c
index 6fa92be..b24b7c4 100644
--- a/c/src/lib/libbsp/arm/shared/arm-cp15-set-exception-handler.c
+++ b/c/src/lib/libbsp/arm/shared/arm-cp15-set-exception-handler.c
@@ -32,7 +32,7 @@ void arm_cp15_set_exception_handler(
       uint32_t ctrl;
       rtems_interrupt_level level;
 
-      rtems_interrupt_disable(level);
+      rtems_interrupt_local_disable(level);
 
       ctrl = arm_cp15_mmu_disable(cls);
 
@@ -50,7 +50,7 @@ void arm_cp15_set_exception_handler(
 
       arm_cp15_set_control(ctrl);
 
-      rtems_interrupt_enable(level);
+      rtems_interrupt_local_enable(level);
     }
   }
 }



More information about the vc mailing list