summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sppercpudata01/init.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-06-10 09:55:42 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-06-10 15:55:47 +0200
commitfad01e6cf95f98adaca3157faa8b96c19296a68e (patch)
tree4cad0a1296d4af5c402a47dcbd3fdda949371f22 /testsuites/sptests/sppercpudata01/init.c
parentsplinkersets01: Test linker sets in library (diff)
downloadrtems-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 '')
-rw-r--r--testsuites/sptests/sppercpudata01/init.c2
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;