Module: xenomai-2.6 Branch: master Commit: b9e31fb90f9254293d708e9477e6d329efe4ab2e URL: http://git.xenomai.org/?p=xenomai-2.6.git;a=commit;h=b9e31fb90f9254293d708e9477e6d329efe4ab2e
Author: Gilles Chanteperdrix <gilles.chanteperd...@xenomai.org> Date: Sat Jun 8 16:16:53 2013 +0200 nucleus: fix comments in AMOK bit heandling ifdev --- include/nucleus/thread.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/nucleus/thread.h b/include/nucleus/thread.h index e328826..4a740a0 100644 --- a/include/nucleus/thread.h +++ b/include/nucleus/thread.h @@ -400,10 +400,10 @@ typedef struct xnhook { #if defined(CONFIG_XENO_OPT_WATCHDOG) || defined(CONFIG_XENO_SKIN_POSIX) #define xnthread_amok_p(thread) xnthread_test_info(thread, XNAMOK) #define xnthread_clear_amok(thread) xnthread_clear_info(thread, XNAMOK) -#else /* !CONFIG_XENO_OPT_WATCHDOG */ +#else /* !CONFIG_XENO_OPT_WATCHDOG && !CONFIG_XENO_SKIN_POSIX */ #define xnthread_amok_p(thread) ({ (void)(thread); 0; }) #define xnthread_clear_amok(thread) do { (void)(thread); } while (0) -#endif /* !CONFIG_XENO_OPT_WATCHDOG */ +#endif /* !CONFIG_XENO_OPT_WATCHDOG && !CONFIG_XENO_SKIN_POSIX */ /* Class-level operations for threads. */ static inline int xnthread_get_denormalized_prio(struct xnthread *t, int coreprio) _______________________________________________ Xenomai-git mailing list Xenomai-git@xenomai.org http://www.xenomai.org/mailman/listinfo/xenomai-git