looks good for merge
-steve

On Thu, 2009-04-02 at 11:53 +0200, Fabio M. Di Nitto wrote:
> Hi,
> 
> the patch in attachment makes sure that LOGSYS_DECLARE_SYSTEM
> is always invoked before LOGSYS_DECLARE_(NO)SUBSYS by using the
> optional priority argument to the construct attribute.
> 
> Depending on the -O level when building, gcc rearrange the construct
> ordering as it fits best but it doesn't guarantee they are invoked
> in the same order as written in the code.
> This could lead to DECLARE_SYSTEM to be issued after (NO)SUBSYS
> and it's not a desired behavior for logsys.
> 
> The 2 values 101 and 102 are the first available in the range since
> 0 to 100 are reserved for the implementation (gcc).
> 
> Fabio
> _______________________________________________
> Openais mailing list
> [email protected]
> https://lists.linux-foundation.org/mailman/listinfo/openais

_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to