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/src/corebarrierwait.c | |
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/src/corebarrierwait.c')
-rw-r--r-- | cpukit/score/src/corebarrierwait.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cpukit/score/src/corebarrierwait.c b/cpukit/score/src/corebarrierwait.c index 4a924b28dd..54e90965f0 100644 --- a/cpukit/score/src/corebarrierwait.c +++ b/cpukit/score/src/corebarrierwait.c @@ -28,7 +28,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 ) @@ -47,7 +46,7 @@ void _CORE_barrier_Do_seize( && number_of_waiting_threads == the_barrier->Attributes.maximum_count ) { executing->Wait.return_code = CORE_BARRIER_STATUS_AUTOMATICALLY_RELEASED; - _CORE_barrier_Surrender( the_barrier, mp_callout, mp_id, lock_context ); + _CORE_barrier_Surrender( the_barrier, mp_callout, lock_context ); } else { the_barrier->number_of_waiting_threads = number_of_waiting_threads; _Thread_queue_Enqueue_critical( |