summaryrefslogtreecommitdiff
path: root/nuttx/arch/x86/src/common/up_blocktask.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/x86/src/common/up_blocktask.c')
-rw-r--r--nuttx/arch/x86/src/common/up_blocktask.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/nuttx/arch/x86/src/common/up_blocktask.c b/nuttx/arch/x86/src/common/up_blocktask.c
index 530147a97..b1653f1e4 100644
--- a/nuttx/arch/x86/src/common/up_blocktask.c
+++ b/nuttx/arch/x86/src/common/up_blocktask.c
@@ -83,7 +83,7 @@
*
****************************************************************************/
-void up_block_task(_TCB *tcb, tstate_t task_state)
+void up_block_task(struct tcb_s *tcb, tstate_t task_state)
{
/* Verify that the context switch can be performed */
@@ -94,7 +94,7 @@ void up_block_task(_TCB *tcb, tstate_t task_state)
}
else
{
- _TCB *rtcb = (_TCB*)g_readytorun.head;
+ struct tcb_s *rtcb = (struct tcb_s*)g_readytorun.head;
bool switch_needed;
/* Remove the tcb task from the ready-to-run list. If we
@@ -137,7 +137,7 @@ void up_block_task(_TCB *tcb, tstate_t task_state)
* of the g_readytorun task list.
*/
- rtcb = (_TCB*)g_readytorun.head;
+ rtcb = (struct tcb_s*)g_readytorun.head;
/* Then switch contexts */
@@ -155,7 +155,7 @@ void up_block_task(_TCB *tcb, tstate_t task_state)
* of the g_readytorun task list.
*/
- rtcb = (_TCB*)g_readytorun.head;
+ rtcb = (struct tcb_s*)g_readytorun.head;
/* Then switch contexts */