Gilles Chanteperdrix wrote:
> Jan Kiszka wrote:
> 
> This patch contains too many #ifdefs.
> 
> Things like
> 
> #ifdef CONFIG_XENO_FASTSYNCH
> if (xnsynch_fast_owner_check(...))
> #else
> if (xnsynch_owner(...) == ...)
> #endif
> 
> could be replaced with only one macro xnsynch_check_owner in synch.h
> that would be defined with some #ifdefs, and used everywhere without
> #ifdefs.

Yes, that looks like a good idea. Will go through the patch again,
checking for more cleanup possibilities like that.

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