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 /testsuites/sptests/sppercpudata01 | |
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 'testsuites/sptests/sppercpudata01')
-rw-r--r-- | testsuites/sptests/sppercpudata01/init.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuites/sptests/sppercpudata01/init.c b/testsuites/sptests/sppercpudata01/init.c index 3d105ee61f..fbdf4c50ad 100644 --- a/testsuites/sptests/sppercpudata01/init.c +++ b/testsuites/sptests/sppercpudata01/init.c @@ -25,6 +25,8 @@ const char rtems_test_name[] = "SPPERCPUDATA 1"; +PER_CPU_DATA_NEED_INITIALIZATION(); + static RTEMS_ALIGNED(CPU_HEAP_ALIGNMENT) PER_CPU_DATA_ITEM(unsigned char, c) = 1; |