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 sync
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