summaryrefslogtreecommitdiffstats
path: root/testsuites/smptests/smppsxaffinity02/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/smptests/smppsxaffinity02/init.c')
-rw-r--r--testsuites/smptests/smppsxaffinity02/init.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuites/smptests/smppsxaffinity02/init.c b/testsuites/smptests/smppsxaffinity02/init.c
index 21a723d41b..2d6dc10bc3 100644
--- a/testsuites/smptests/smppsxaffinity02/init.c
+++ b/testsuites/smptests/smppsxaffinity02/init.c
@@ -113,6 +113,10 @@ void Validate_affinity(void )
puts( "Init - Set Init priority to high");
sc = pthread_getattr_np( Init_id, &attr );
rtems_test_assert( sc == 0 );
+
+ sc = pthread_attr_setstack( &attr, NULL, 0 );
+ rtems_test_assert( sc == 0 );
+
sc = pthread_attr_getschedparam( &attr, &param );
rtems_test_assert( sc == 0 );
param.sched_priority = sched_get_priority_max( SCHED_FIFO );