diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-03-30 08:36:08 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-03-30 08:45:58 +0200 |
commit | 9d9b6b56d1ecf0d8918556835fa0f83289140791 (patch) | |
tree | 65391cb550493bbac4cdb490b800807ee4d7734f /cpukit/rtems/src/partmp.c | |
parent | score: Fix set but not used warning (diff) | |
download | rtems-9d9b6b56d1ecf0d8918556835fa0f83289140791.tar.bz2 |
score: Objects_Thread_queue_Extract_callout
Change parameters of the objects thread queue extract callout to avoid a
cast and explicit use of the thread wait information.
Diffstat (limited to 'cpukit/rtems/src/partmp.c')
-rw-r--r-- | cpukit/rtems/src/partmp.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/cpukit/rtems/src/partmp.c b/cpukit/rtems/src/partmp.c index 00fc8101fb..8e9d307825 100644 --- a/cpukit/rtems/src/partmp.c +++ b/cpukit/rtems/src/partmp.c @@ -275,14 +275,13 @@ void _Partition_MP_Process_packet ( */ void _Partition_MP_Send_extract_proxy ( - void *argument + Thread_Control *the_thread, + Objects_Id id ) { - Thread_Control *the_thread = (Thread_Control *)argument; - _Partition_MP_Send_process_packet( PARTITION_MP_EXTRACT_PROXY, - the_thread->Wait.id, + id, (rtems_name) 0, the_thread->Object.id ); |