Module: xenomai-jki Branch: for-upstream Commit: c83f8c5299d9243ff46c43760800ceeed611f1a3 URL: http://git.xenomai.org/?p=xenomai-jki.git;a=commit;h=c83f8c5299d9243ff46c43760800ceeed611f1a3
Author: Jan Kiszka <jan.kis...@siemens.com> Date: Fri Jan 18 19:01:04 2013 +0100 nucleus: Fix xnpod_schedule with nucleus debugging enabled We need to account for the new XNINLOCK flag in the debug path of xnpod_schedule. Signed-off-by: Jan Kiszka <jan.kis...@siemens.com> --- include/nucleus/pod.h | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/include/nucleus/pod.h b/include/nucleus/pod.h index fd09dd6..2bb31eb 100644 --- a/include/nucleus/pod.h +++ b/include/nucleus/pod.h @@ -277,7 +277,8 @@ static inline void xnpod_schedule(void) * unlocked context switch. */ #if XENO_DEBUG(NUCLEUS) - if (testbits(sched->status | sched->lflags, XNKCOUT|XNINIRQ|XNINSW)) + if (testbits(sched->status | sched->lflags, + XNKCOUT|XNINIRQ|XNINSW|XNINLOCK)) return; #else /* !XENO_DEBUG(NUCLEUS) */ if (testbits(sched->status | sched->lflags, _______________________________________________ Xenomai-git mailing list Xenomai-git@xenomai.org http://www.xenomai.org/mailman/listinfo/xenomai-git