summaryrefslogtreecommitdiffstats
path: root/testsuites
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-12-14 23:56:21 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-12-14 23:56:21 +0000
commitd32daa6a8a6997cf385dbd35e75df5338e06c5e9 (patch)
tree4c55c873481a86122de367db1f86fabb700dc485 /testsuites
parent2008-12-14 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-d32daa6a8a6997cf385dbd35e75df5338e06c5e9.tar.bz2
2008-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* psx05/init.c: Add parameter to call to sched_get_priority_max().
Diffstat (limited to 'testsuites')
-rw-r--r--testsuites/psxtests/ChangeLog4
-rw-r--r--testsuites/psxtests/psx05/init.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/testsuites/psxtests/ChangeLog b/testsuites/psxtests/ChangeLog
index 5756e3eaae..c6f92a0ad9 100644
--- a/testsuites/psxtests/ChangeLog
+++ b/testsuites/psxtests/ChangeLog
@@ -1,5 +1,9 @@
2008-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>
+ * psx05/init.c: Add parameter to call to sched_get_priority_max().
+
+2008-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>
+
* psx05/init.c, psx07/init.c, psx09/init.c, psx11/init.c, psx12/init.c:
Run all tests successfully with maxixum number of priorities as 16
instead of 256. This was done by temporarily modifying the score
diff --git a/testsuites/psxtests/psx05/init.c b/testsuites/psxtests/psx05/init.c
index 5923abe5f2..7bc472b2ee 100644
--- a/testsuites/psxtests/psx05/init.c
+++ b/testsuites/psxtests/psx05/init.c
@@ -468,7 +468,7 @@ void *POSIX_Init(
/* set priority of Task2 to highest priority */
- param.sched_priority = sched_get_priority_max();
+ param.sched_priority = sched_get_priority_max( SCHED_FIFO );
puts( "Init: pthread_setschedparam - Setting Task2 priority to highest" );
status = pthread_setschedparam( Task2_id, SCHED_FIFO, &param );