summaryrefslogtreecommitdiffstats
path: root/testsuites
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-10-17 09:20:20 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-10-17 11:10:00 +0200
commit3f3f42482daa45aff3647f34afb4e2c4eca242cd (patch)
treeff7e96eddeacf3ea09547d1f7b3b2fb83f9b4e7d /testsuites
parentposix: Move POSIX_API_Control::thread (diff)
downloadrtems-3f3f42482daa45aff3647f34afb4e2c4eca242cd.tar.bz2
posix: Remove POSIX_API_Control::schedparam
Move sporadic server scheduler parameters to POSIX_API_Control::Sporadic. Remove redundant scheduler priority parameter. Update #2514.
Diffstat (limited to 'testsuites')
-rw-r--r--testsuites/psxtests/psxgetattrnp01/init.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/testsuites/psxtests/psxgetattrnp01/init.c b/testsuites/psxtests/psxgetattrnp01/init.c
index afde4a210e..19981573d1 100644
--- a/testsuites/psxtests/psxgetattrnp01/init.c
+++ b/testsuites/psxtests/psxgetattrnp01/init.c
@@ -62,11 +62,7 @@ static int attribute_compare(
if ( attr1->schedpolicy != attr2->schedpolicy )
return 1;
- if (memcmp(
- &attr1->schedparam,
- &attr2->schedparam,
- sizeof(struct sched_param)
- ))
+ if ( attr1->schedparam.sched_priority != attr2->schedparam.sched_priority )
return 1;
#if HAVE_DECL_PTHREAD_ATTR_SETGUARDSIZE