[rtems commit] score: Make _ISR_Enable_without_giant() available

Sebastian Huber sebh at rtems.org
Tue Mar 18 12:03:27 UTC 2014


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Tue Mar 18 10:56:17 2014 +0100

score: Make _ISR_Enable_without_giant() available

Make _ISR_Enable_without_giant() available for non-SMP configurations.

---

 cpukit/score/include/rtems/score/isrlevel.h |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/cpukit/score/include/rtems/score/isrlevel.h b/cpukit/score/include/rtems/score/isrlevel.h
index 137103e..94d1e91 100644
--- a/cpukit/score/include/rtems/score/isrlevel.h
+++ b/cpukit/score/include/rtems/score/isrlevel.h
@@ -142,16 +142,12 @@ typedef uint32_t   ISR_Level;
     RTEMS_COMPILER_MEMORY_BARRIER(); \
   } while (0)
 
-#if defined( RTEMS_SMP )
-
 #define _ISR_Enable_without_giant( _level ) \
   do { \
     RTEMS_COMPILER_MEMORY_BARRIER(); \
     _CPU_ISR_Enable( _level ); \
   } while (0)
 
-#endif /* defined( RTEMS_SMP ) */
-
 /**@}*/
 
 #ifdef __cplusplus




More information about the vc mailing list