Philippe Gerum wrote:
> Jan Kiszka wrote:
>>
>> As long as I didn't messed my build up (it's late...): no effect for
>> both patches.
>>
> 
> Ok, thanks. So does the following patch on the trunk/ make the bug
> disappear, when using a vanilla Adeos support?
> 
> --- include/asm-generic/hal.h    (revision 1078)
> +++ include/asm-generic/hal.h    (working copy)
> @@ -118,7 +118,7 @@
>  /* Obsolete Adeos patches do not support the invariant pipeline head
>     optimization, so we check for the presence of __ipipe_pipeline_head
>     to detect it. */
> -#if defined(CONFIG_XENO_OPT_PIPELINE_HEAD) &&
> defined(__ipipe_pipeline_head)
> +#if defined(CONFIG_XENO_OPT_PIPELINE_HEAD) &&
> defined(__ipipe_pipeline_head) && 0
>  #define rthal_local_irq_disable()    ipipe_stall_pipeline_head()
>  #define rthal_local_irq_enable()    ipipe_unstall_pipeline_head()
>  #define rthal_local_irq_save(x)        ((x) =
> !!ipipe_test_and_stall_pipeline_head())
> 

This works now.

Jan

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core

Reply via email to