Module: xenomai-gch
Branch: for-forge
Commit: 2e0a5d0f96d46dec141040a65a83713c40e9dfb8
URL:    
http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=2e0a5d0f96d46dec141040a65a83713c40e9dfb8

Author: Gilles Chanteperdrix <gilles.chanteperd...@xenomai.org>
Date:   Fri Apr 25 21:34:05 2014 +0200

cobalt/trace: fix compilation error

---

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

diff --git a/kernel/cobalt/thread.c b/kernel/cobalt/thread.c
index 1bff44d..c2abd7c 100644
--- a/kernel/cobalt/thread.c
+++ b/kernel/cobalt/thread.c
@@ -1625,7 +1625,7 @@ EXPORT_SYMBOL_GPL(xnthread_migrate);
 
 void xnthread_migrate_passive(struct xnthread *thread, struct xnsched *sched)
 {                              /* nklocked, IRQs off */
-       trace_cobalt_thread_migrate_passive(thread, cpu);
+       trace_cobalt_thread_migrate_passive(thread, xnsched_cpu(sched));
 
        if (thread->sched == sched)
                return;


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

Reply via email to