diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-06-10 09:55:42 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-06-10 15:55:47 +0200 |
commit | fad01e6cf95f98adaca3157faa8b96c19296a68e (patch) | |
tree | 4cad0a1296d4af5c402a47dcbd3fdda949371f22 /cpukit/sapi | |
parent | splinkersets01: Test linker sets in library (diff) | |
download | rtems-fad01e6cf95f98adaca3157faa8b96c19296a68e.tar.bz2 |
score: Add PER_CPU_DATA_NEED_INITIALIZATION()
Make the initialization of the per-CPU data optional.
Change license to BSD-2-Clause according to file history and
re-licensing agreement.
Update #3053.
Diffstat (limited to 'cpukit/sapi')
-rw-r--r-- | cpukit/sapi/src/exinit.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/cpukit/sapi/src/exinit.c b/cpukit/sapi/src/exinit.c index 9015a369a2..c98ed08f10 100644 --- a/cpukit/sapi/src/exinit.c +++ b/cpukit/sapi/src/exinit.c @@ -32,7 +32,6 @@ #include <rtems/score/heap.h> #include <rtems/score/interr.h> #include <rtems/score/isr.h> -#include <rtems/score/percpudata.h> #include <rtems/score/priority.h> #include <rtems/score/schedulerimpl.h> #include <rtems/score/smpimpl.h> @@ -58,18 +57,6 @@ _Objects_Information_table[ OBJECTS_APIS_LAST + 1 ] = { &_POSIX_Objects[ 0 ] }; -RTEMS_LINKER_RWSET( - _Per_CPU_Data, -#if defined(RTEMS_SMP) - /* - * In SMP configurations, prevent false cache line sharing of per-processor - * data with a proper alignment. - */ - RTEMS_ALIGNED( CPU_CACHE_LINE_BYTES ) -#endif - char -); - static void rtems_initialize_data_structures(void) { /* |