diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-12-14 18:31:43 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-12-14 18:31:43 +0000 |
commit | a6608123c0952979821bbfe4bf58713403c2f9cb (patch) | |
tree | 6f3206c34b4f75b3bc5146d9527f165cbc3c9205 /cpukit/itron/src/cre_tsk.c | |
parent | 2008-12-12 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-a6608123c0952979821bbfe4bf58713403c2f9cb.tar.bz2 |
2008-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* itron/src/chg_pri.c, itron/src/cre_tsk.c, itron/src/rot_rdq.c,
posix/Makefile.am, posix/include/rtems/posix/mutex.h,
posix/include/rtems/posix/priority.h, posix/src/mutex.c,
score/include/rtems/score/priority.h: Run all tests successfully with
maxixum number of priorities as 16 instead of 256. This was done by
temporarily modifying the score priority.h maximum. This allowed
testing of all API code to ensure that it worked properly with a
reduced number of priorities. Most modifications were to switch from
hard-coded maximum to using the SuperCore variable based upon
configured number.
* posix/src/mutexdefaultattributes.c: Removed.
Diffstat (limited to '')
-rw-r--r-- | cpukit/itron/src/cre_tsk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/itron/src/cre_tsk.c b/cpukit/itron/src/cre_tsk.c index a0939ee785..fb8164423f 100644 --- a/cpukit/itron/src/cre_tsk.c +++ b/cpukit/itron/src/cre_tsk.c @@ -58,7 +58,7 @@ ER cre_tsk( (pk_ctsk->tskatr != TA_COP7)) return E_RSATR; - if (( pk_ctsk->itskpri <= 0 ) || ( pk_ctsk->itskpri >= 256 )) + if (( pk_ctsk->itskpri <= 0 ) || ( pk_ctsk->itskpri >= PRIORITY_MAXIMUM-1 )) return E_PAR; if ( pk_ctsk->task == NULL ) return E_PAR; |