summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp01/init.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2022-01-27 14:16:55 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2022-01-28 08:03:48 +0100
commitb519e509a953c25894700531c321f7213fa11e70 (patch)
tree712369b8915c7d8a0b1a8482f942b31155357afb /testsuites/sptests/sp01/init.c
parentcpukit: Prevent error with disabled stack checker (diff)
downloadrtems-b519e509a953c25894700531c321f7213fa11e70.tar.bz2
sptests: Avoid a dependency on errno
Avoid a dependency on errno which might be a thread-local object. The tests sp01, spstkalloc02, and sptls03 assume that no thread-local storage object is present. Update #4560.
Diffstat (limited to 'testsuites/sptests/sp01/init.c')
-rw-r--r--testsuites/sptests/sp01/init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuites/sptests/sp01/init.c b/testsuites/sptests/sp01/init.c
index e0072a615c..a630184651 100644
--- a/testsuites/sptests/sp01/init.c
+++ b/testsuites/sptests/sp01/init.c
@@ -25,6 +25,8 @@ static const rtems_task_config Task_1_config = {
.initial_priority = 1,
.storage_area = Task_1_storage,
.storage_size = sizeof( Task_1_storage ),
+ .maximum_thread_local_storage_size = 0,
+ .storage_free = NULL,
.initial_modes = RTEMS_DEFAULT_MODES,
.attributes = RTEMS_FLOATING_POINT
};