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

Author: Philippe Gerum <r...@xenomai.org>
Date:   Thu Jul 10 16:33:46 2014 +0200

cobalt/kernel/sched: set initial dynamic CPU affinity to static affinity

---

 kernel/cobalt/init.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/kernel/cobalt/init.c b/kernel/cobalt/init.c
index 6afccc6..f30831d 100644
--- a/kernel/cobalt/init.c
+++ b/kernel/cobalt/init.c
@@ -395,6 +395,7 @@ static int __init xenomai_init(void)
                __xnsys_disabled = 1;
                return 0;
        }
+       nkaffinity = xnsched_realtime_cpus;
 #endif /* CONFIG_SMP */
 
        xnsched_register_classes();


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

Reply via email to