mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-21 22:54:14 +08:00
score: Enable SMP barriers for all configurations
This commit is contained in:
@@ -293,7 +293,6 @@ libscore_a_SOURCES += src/threadglobalconstruction.c
|
||||
libscore_a_SOURCES += src/threadyield.c
|
||||
|
||||
if HAS_SMP
|
||||
libscore_a_SOURCES += src/smpbarrierwait.c
|
||||
libscore_a_SOURCES += src/threaddispatchdisablelevel.c
|
||||
endif
|
||||
|
||||
@@ -343,6 +342,7 @@ libscore_a_SOURCES += src/debugisownerofallocator.c
|
||||
libscore_a_SOURCES += src/profilingisrentryexit.c
|
||||
libscore_a_SOURCES += src/once.c
|
||||
libscore_a_SOURCES += src/resourceiterate.c
|
||||
libscore_a_SOURCES += src/smpbarrierwait.c
|
||||
|
||||
EXTRA_DIST = src/Unlimited.txt
|
||||
|
||||
|
||||
@@ -24,9 +24,6 @@
|
||||
#define _RTEMS_SCORE_SMPBARRIER_H
|
||||
|
||||
#include <rtems/score/cpuopts.h>
|
||||
|
||||
#if defined( RTEMS_SMP )
|
||||
|
||||
#include <rtems/score/atomic.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
@@ -122,6 +119,4 @@ void _SMP_barrier_Wait(
|
||||
}
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#endif /* defined( RTEMS_SMP ) */
|
||||
|
||||
#endif /* _RTEMS_SCORE_SMPBARRIER_H */
|
||||
|
||||
Reference in New Issue
Block a user