diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-01-27 14:16:55 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-01-28 08:03:48 +0100 |
commit | b519e509a953c25894700531c321f7213fa11e70 (patch) | |
tree | 712369b8915c7d8a0b1a8482f942b31155357afb /testsuites/sptests/sp01/init.c | |
parent | cpukit: Prevent error with disabled stack checker (diff) | |
download | rtems-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.c | 2 |
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 }; |