Module: xenomai-forge
Branch: next
Commit: 70678274cd1202266433be2ea03ea7f069b0281d
URL:    
http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=70678274cd1202266433be2ea03ea7f069b0281d

Author: Philippe Gerum <r...@xenomai.org>
Date:   Tue Dec 10 16:21:25 2013 +0100

cobalt/sched-tp: set CPU affinity of the per-sched frame timer

---

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

diff --git a/kernel/cobalt/sched-tp.c b/kernel/cobalt/sched-tp.c
index 165ae1d..03c6d67 100644
--- a/kernel/cobalt/sched-tp.c
+++ b/kernel/cobalt/sched-tp.c
@@ -101,6 +101,7 @@ static void xnsched_tp_init(struct xnsched *sched)
        tp->gps = NULL;
        INIT_LIST_HEAD(&tp->threads);
        xntimer_init_noblock(&tp->tf_timer, &nkclock, tp_tick_handler, NULL);
+       xntimer_set_sched(&tp->tf_timer, sched);
        xntimer_set_name(&tp->tf_timer, "tp-tick");
 }
 


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

Reply via email to