diff options
Diffstat (limited to 'cpukit/posix/inline')
-rw-r--r-- | cpukit/posix/inline/rtems/posix/priority.inl | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/cpukit/posix/inline/rtems/posix/priority.inl b/cpukit/posix/inline/rtems/posix/priority.inl index 74287bd9f3..9a9f538a61 100644 --- a/cpukit/posix/inline/rtems/posix/priority.inl +++ b/cpukit/posix/inline/rtems/posix/priority.inl @@ -3,7 +3,7 @@ */ /* - * COPYRIGHT (c) 1989-2007. + * COPYRIGHT (c) 1989-2009. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -20,23 +20,6 @@ #ifndef _RTEMS_POSIX_PRIORITY_INL #define _RTEMS_POSIX_PRIORITY_INL -/* - * 1003.1b-1993,2.2.2.80 definition of priority, p. 19 - * - * "Numerically higher values represent higher priorities." - * - * Thus, RTEMS Core has priorities run in the opposite sense of the POSIX API. - */ - -RTEMS_INLINE_ROUTINE bool _POSIX_Priority_Is_valid( - int priority -) -{ - return ((priority >= POSIX_SCHEDULER_MINIMUM_PRIORITY) && - (priority <= POSIX_SCHEDULER_MAXIMUM_PRIORITY)); - -} - RTEMS_INLINE_ROUTINE Priority_Control _POSIX_Priority_To_core( int priority ) |