[rtems commit] score: Inline _Thread_Disable_dispatch() for SMP

Sebastian Huber sebh at rtems.org
Wed Mar 4 11:05:25 UTC 2015


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Thu Feb 26 11:32:45 2015 +0100

score: Inline _Thread_Disable_dispatch() for SMP

---

 cpukit/score/include/rtems/score/threaddispatch.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/cpukit/score/include/rtems/score/threaddispatch.h b/cpukit/score/include/rtems/score/threaddispatch.h
index 1700675..7d25aed 100644
--- a/cpukit/score/include/rtems/score/threaddispatch.h
+++ b/cpukit/score/include/rtems/score/threaddispatch.h
@@ -22,8 +22,7 @@
 extern "C" {
 #endif /* __cplusplus */
 
-#if defined(RTEMS_SMP) || \
-    defined(RTEMS_HEAVY_STACK_DEBUG) || \
+#if defined(RTEMS_HEAVY_STACK_DEBUG) || \
     defined(RTEMS_HEAVY_MALLOC_DEBUG)
   #define __THREAD_DO_NOT_INLINE_DISABLE_DISPATCH__
 #endif




More information about the vc mailing list