summaryrefslogtreecommitdiffstats
path: root/testsuites
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites')
-rw-r--r--testsuites/smptests/smpfatal09/init.c2
-rw-r--r--testsuites/sptests/sppercpudata01/init.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/testsuites/smptests/smpfatal09/init.c b/testsuites/smptests/smpfatal09/init.c
index e67ed0a56a..dfdd11d84c 100644
--- a/testsuites/smptests/smpfatal09/init.c
+++ b/testsuites/smptests/smpfatal09/init.c
@@ -36,6 +36,8 @@
#include <tmacros.h>
+PER_CPU_DATA_NEED_INITIALIZATION();
+
static PER_CPU_DATA_ITEM(int, i) = 123;
const char rtems_test_name[] = "SMPFATAL 9";
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;