summaryrefslogtreecommitdiff
path: root/cpukit/score/src/mpci.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2015-04-22 21:29:21 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2015-04-23 08:55:43 +0200
commit9f10911d2b653859f7199eaed5a85a24803711dc (patch)
tree3dcee8b9f5ad179e8a82b852c7ad5837d30abbb0 /cpukit/score/src/mpci.c
parentd349e8a439d022bda3f9637fff013cfc8e55743d (diff)
score: Delete Thread_queue_Control::state
Use a parameter for _Thread_queue_Enqueue() instead to reduce memory usage.
Diffstat (limited to 'cpukit/score/src/mpci.c')
-rw-r--r--cpukit/score/src/mpci.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/cpukit/score/src/mpci.c b/cpukit/score/src/mpci.c
index a2acf89424..9b623b253f 100644
--- a/cpukit/score/src/mpci.c
+++ b/cpukit/score/src/mpci.c
@@ -83,7 +83,6 @@ void _MPCI_Handler_initialization(
_Thread_queue_Initialize(
&_MPCI_Remote_blocked_threads,
THREAD_QUEUE_DISCIPLINE_FIFO,
- STATES_WAITING_FOR_RPC_REPLY,
timeout_status
);
}
@@ -219,12 +218,10 @@ uint32_t _MPCI_Send_request_packet (
_Thread_queue_Enqueue(
&_MPCI_Remote_blocked_threads,
executing,
+ STATES_WAITING_FOR_RPC_REPLY | extra_state,
the_packet->timeout
);
- executing->current_state =
- _States_Set( extra_state, executing->current_state );
-
_Thread_Enable_dispatch();
return executing->Wait.return_code;