On 2013-01-17 09:26, Philippe Gerum wrote:
> On 01/16/2013 08:17 PM, Jan Kiszka wrote:
>> In the legacy use case, __ipipe_switch_tail will be invoked over the
>> non-root domain after hardening. So clearing of TASK_HARDENING must not
>> be restricted to root.
>>
>> Signed-off-by: Jan Kiszka <[email protected]>
>> ---
>>
>> For the case my analysis was right. With this, Xenomai 2.6 works again
>> here.
>>
>>   kernel/ipipe/core.c |    2 ++
>>   1 files changed, 2 insertions(+), 0 deletions(-)
>>
>> diff --git a/kernel/ipipe/core.c b/kernel/ipipe/core.c
>> index 6929156..4695ba8 100644
>> --- a/kernel/ipipe/core.c
>> +++ b/kernel/ipipe/core.c
>> @@ -1124,7 +1124,9 @@ int __ipipe_switch_tail(void)
>>       hard_local_irq_disable();
>>   #endif
>>       x = __ipipe_root_p;
>> +#ifndef CONFIG_IPIPE_LEGACY
>>       if (x)
>> +#endif
>>           complete_domain_migration();
>>
>>   #ifndef CONFIG_IPIPE_WANT_PREEMPTIBLE_SWITCH
>>
> 
> The analysis is right. I already fixed this bug in the 3.5 branch, we
> are missing a forward port to 3.5.7.
> 
> http://git.denx.de/?p=ipipe-2.6.git;a=commit;h=8b11dc5fee73842a24ec4367b57aaa2dcdd67225

Would you push your new version?

Jan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: 
<http://www.xenomai.org/pipermail/xenomai/attachments/20130117/752d95bd/attachment.pgp>
_______________________________________________
Xenomai mailing list
[email protected]
http://www.xenomai.org/mailman/listinfo/xenomai

Reply via email to