Module: xenomai-forge
Branch: rtdm-api-waitqueues
Commit: 255a709b8d07850e489949784562145e45431082
URL:    
http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=255a709b8d07850e489949784562145e45431082

Author: Philippe Gerum <r...@xenomai.org>
Date:   Thu Apr 24 16:46:42 2014 +0200

cobalt/sched-tp: only warn on partition crossing (do not panic)

---

 kernel/cobalt/sched-tp.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/cobalt/sched-tp.c b/kernel/cobalt/sched-tp.c
index 794f4c9..13c4416 100644
--- a/kernel/cobalt/sched-tp.c
+++ b/kernel/cobalt/sched-tp.c
@@ -152,7 +152,7 @@ static void xnsched_tp_trackprio(struct xnthread *thread,
         */
        if (p) {
                /* We should never cross partition boundaries. */
-               XENO_BUGON(NUCLEUS,
+               XENO_WARNON(NUCLEUS,
                           thread->base_class == &xnsched_class_tp &&
                           thread->tps - thread->sched->tp.partitions != 
p->tp.ptid);
                thread->cprio = p->tp.prio;


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai-git

Reply via email to