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/rot_rdq.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/rot_rdq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/itron/src/rot_rdq.c b/cpukit/itron/src/rot_rdq.c index 80e9e5c95e..9f57321dc9 100644 --- a/cpukit/itron/src/rot_rdq.c +++ b/cpukit/itron/src/rot_rdq.c @@ -34,7 +34,7 @@ ER rot_rdq( PRI priority; - if (( tskpri <= 0 ) || ( tskpri >= 256 )) + if (( tskpri <= 0 ) || ( tskpri >= PRIORITY_MAXIMUM-1 )) return E_PAR; _Thread_Disable_dispatch(); |