[PATCH] score: Fix for RTEMS_DEBUG.

Sebastian Huber sebastian.huber at embedded-brains.de
Mon Aug 1 05:34:46 UTC 2016


Looks good. Sorry, I forgot this on Thursday.

On 29/07/16 02:29, Chris Johns wrote:
> ---
>   cpukit/score/src/userextaddset.c | 2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/cpukit/score/src/userextaddset.c b/cpukit/score/src/userextaddset.c
> index 19bbd36..ea2d214 100644
> --- a/cpukit/score/src/userextaddset.c
> +++ b/cpukit/score/src/userextaddset.c
> @@ -29,6 +29,7 @@ void _User_extensions_Add_set(
>     ISR_lock_Context lock_context;
>   
>     _User_extensions_Acquire( &lock_context );
> +  _Chain_Initialize_node( &the_extension->Node );
>     _Chain_Append_unprotected(
>       &_User_extensions_List.Active,
>       &the_extension->Node
> @@ -46,6 +47,7 @@ void _User_extensions_Add_set(
>         the_extension->Callouts.thread_switch;
>   
>       _Per_CPU_Acquire_all( level );
> +    _Chain_Initialize_node( &the_extension->Switch.Node );
>       _Chain_Append_unprotected(
>         &_User_extensions_Switches_list,
>         &the_extension->Switch.Node

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the devel mailing list