forked from Imagelibrary/rtems
score: Fix RTEMS_DEBUG build
This fixes a compilation failure introduced by
1c12047098.
This commit is contained in:
committed by
Gedare Bloom
parent
fb60451505
commit
c0207fc032
@@ -335,7 +335,9 @@ static inline void _Priority_Set_action_node(
|
|||||||
Priority_Node *node
|
Priority_Node *node
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
#if defined(RTEMS_SMP)
|
||||||
_Assert( aggregation->Action.next == NULL );
|
_Assert( aggregation->Action.next == NULL );
|
||||||
|
#endif
|
||||||
aggregation->Action.node = node;
|
aggregation->Action.node = node;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -350,7 +352,9 @@ static inline void _Priority_Set_action_type(
|
|||||||
Priority_Action_type type
|
Priority_Action_type type
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
#if defined(RTEMS_SMP)
|
||||||
_Assert( aggregation->Action.next == NULL );
|
_Assert( aggregation->Action.next == NULL );
|
||||||
|
#endif
|
||||||
aggregation->Action.type = type;
|
aggregation->Action.type = type;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -368,7 +372,9 @@ static inline void _Priority_Set_action(
|
|||||||
Priority_Action_type type
|
Priority_Action_type type
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
#if defined(RTEMS_SMP)
|
||||||
_Assert( aggregation->Action.next == NULL );
|
_Assert( aggregation->Action.next == NULL );
|
||||||
|
#endif
|
||||||
aggregation->Action.node = node;
|
aggregation->Action.node = node;
|
||||||
aggregation->Action.type = type;
|
aggregation->Action.type = type;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ void _Thread_queue_Do_nothing_priority_actions(
|
|||||||
Priority_Actions *priority_actions
|
Priority_Actions *priority_actions
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
#if defined(RTEMS_DEBUG)
|
#if defined(RTEMS_DEBUG) && defined(RTEMS_SMP)
|
||||||
Priority_Aggregation *priority_aggregation;
|
Priority_Aggregation *priority_aggregation;
|
||||||
|
|
||||||
priority_aggregation = _Priority_Actions_move( priority_actions );
|
priority_aggregation = _Priority_Actions_move( priority_actions );
|
||||||
|
|||||||
Reference in New Issue
Block a user