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

Author: Philippe Gerum <r...@xenomai.org>
Date:   Tue May 19 16:23:25 2009 +0200

Fix compilation

---

 ksrc/nucleus/intr.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ksrc/nucleus/intr.c b/ksrc/nucleus/intr.c
index 121a96e..0532cb5 100644
--- a/ksrc/nucleus/intr.c
+++ b/ksrc/nucleus/intr.c
@@ -126,7 +126,7 @@ void xnintr_clock_handler(void)
         * interrupt preempted the root thread.
         */
        if (testbits(sched->status, XNHTICK) &&
-           xnthread_test_state(sched->curr, XNROOT))
+           xnthread_test_state(sched->runthread, XNROOT))
                xnintr_host_tick(sched);
 
        trace_mark(xn_nucleus, irq_exit, "irq %u", XNARCH_TIMER_IRQ);


_______________________________________________
Xenomai-git mailing list
Xenomai-git@gna.org
https://mail.gna.org/listinfo/xenomai-git

Reply via email to