Module: xenomai-3
Branch: master
Commit: 4cfacb30c140b9534d2e40ace5c4e4d4baa10874
URL:    
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=4cfacb30c140b9534d2e40ace5c4e4d4baa10874

Author: Philippe Gerum <r...@xenomai.org>
Date:   Sun Oct 26 16:14:19 2014 +0100

cobalt/sched/tp: fix double unlink on thread fallback to FIFO

---

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

diff --git a/kernel/cobalt/sched-tp.c b/kernel/cobalt/sched-tp.c
index 484e339..d3e7f5f 100644
--- a/kernel/cobalt/sched-tp.c
+++ b/kernel/cobalt/sched-tp.c
@@ -253,7 +253,6 @@ xnsched_tp_set_schedule(struct xnsched *sched,
                goto done;
 
        list_for_each_entry_safe(thread, tmp, &tp->threads, tp_link) {
-               list_del(&thread->tp_link);
                param.rt.prio = thread->cprio;
                xnsched_set_policy(thread, &xnsched_class_rt, &param);
        }


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

Reply via email to