diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-05-23 06:55:49 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-05-25 12:43:53 +0200 |
commit | c3d8d9e0bf8b86d7ca8a51adbf1bbeaaf69f82cf (patch) | |
tree | 9ae8ffddbc32ea50a3c635adf0f4954d9d43e5ca /cpukit/score/include/rtems/score/corebarrierimpl.h | |
parent | score: Move thread queue object support (diff) | |
download | rtems-c3d8d9e0bf8b86d7ca8a51adbf1bbeaaf69f82cf.tar.bz2 |
score: Get rid of mp_id parameter
Get rid of the mp_id parameter used for some thread queue methods. Use
THREAD_QUEUE_QUEUE_TO_OBJECT() instead.
Diffstat (limited to 'cpukit/score/include/rtems/score/corebarrierimpl.h')
-rw-r--r-- | cpukit/score/include/rtems/score/corebarrierimpl.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/cpukit/score/include/rtems/score/corebarrierimpl.h b/cpukit/score/include/rtems/score/corebarrierimpl.h index cd253b3815..d5133cd1cf 100644 --- a/cpukit/score/include/rtems/score/corebarrierimpl.h +++ b/cpukit/score/include/rtems/score/corebarrierimpl.h @@ -105,7 +105,6 @@ void _CORE_barrier_Do_seize( Watchdog_Interval timeout, #if defined(RTEMS_MULTIPROCESSING) Thread_queue_MP_callout mp_callout, - Objects_Id mp_id, #endif ISR_lock_Context *lock_context ); @@ -125,7 +124,6 @@ void _CORE_barrier_Do_seize( * to wait if @a wait is true. * @param[in] mp_callout is the routine to invoke if the * thread unblocked is remote - * @param[in] mp_id is the id of the object being waited upon * * @note Status is returned via the thread control block. */ @@ -136,7 +134,6 @@ void _CORE_barrier_Do_seize( wait, \ timeout, \ mp_callout, \ - mp_id, \ lock_context \ ) \ _CORE_barrier_Do_seize( \ @@ -145,7 +142,6 @@ void _CORE_barrier_Do_seize( wait, \ timeout, \ mp_callout, \ - mp_id, \ lock_context \ ) #else @@ -155,7 +151,6 @@ void _CORE_barrier_Do_seize( wait, \ timeout, \ mp_callout, \ - mp_id, \ lock_context \ ) \ _CORE_barrier_Do_seize( \ @@ -172,7 +167,6 @@ uint32_t _CORE_barrier_Do_surrender( Thread_queue_Flush_filter filter, #if defined(RTEMS_MULTIPROCESSING) Thread_queue_MP_callout mp_callout, - Objects_Id mp_id, #endif ISR_lock_Context *lock_context ); @@ -186,7 +180,6 @@ uint32_t _CORE_barrier_Do_surrender( * @param[in] the_barrier is the barrier to surrender * @param[in] mp_callout is the routine to invoke if the * thread unblocked is remote - * @param[in] mp_id is the id of the object for a remote unblock * * @retval the number of unblocked threads */ @@ -194,21 +187,18 @@ uint32_t _CORE_barrier_Do_surrender( #define _CORE_barrier_Surrender( \ the_barrier, \ mp_callout, \ - mp_id, \ lock_context \ ) \ _CORE_barrier_Do_surrender( \ the_barrier, \ _Thread_queue_Flush_default_filter, \ mp_callout, \ - mp_id, \ lock_context \ ) #else #define _CORE_barrier_Surrender( \ the_barrier, \ mp_callout, \ - mp_id, \ lock_context \ ) \ _CORE_barrier_Do_surrender( \ @@ -229,21 +219,18 @@ Thread_Control *_CORE_barrier_Was_deleted( #define _CORE_barrier_Flush( \ the_barrier, \ mp_callout, \ - mp_id, \ lock_context \ ) \ _CORE_barrier_Do_surrender( \ the_barrier, \ _CORE_barrier_Was_deleted, \ mp_callout, \ - mp_id, \ lock_context \ ) #else #define _CORE_barrier_Flush( \ the_barrier, \ mp_callout, \ - mp_id, \ lock_context \ ) \ _CORE_barrier_Do_surrender( \ |