From c3d8d9e0bf8b86d7ca8a51adbf1bbeaaf69f82cf Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 23 May 2016 06:55:49 +0200 Subject: 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. --- cpukit/score/src/corebarrierwait.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cpukit/score/src/corebarrierwait.c') 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( -- cgit v1.2.3