Module: xenomai-gch
Branch: 2.6-fpu_trace
Commit: d07e287a709065a553452e2686bbe2dc071a8ddc
URL:    
http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=d07e287a709065a553452e2686bbe2dc071a8ddc

Author: Gilles Chanteperdrix <gilles.chanteperd...@xenomai.org>
Date:   Sat Mar 23 21:45:39 2013 +0100

nucleus: do not start host timer emulation if host timer is not shared

---

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

diff --git a/ksrc/nucleus/pod.c b/ksrc/nucleus/pod.c
index 868f98f..f977db3 100644
--- a/ksrc/nucleus/pod.c
+++ b/ksrc/nucleus/pod.c
@@ -2754,7 +2754,7 @@ int xnpod_enable_timesource(void)
 
                if (htickval > 1)
                        xntimer_start(&sched->htimer, htickval, htickval, 
XN_RELATIVE);
-               else
+               else if (htickval == 1)
                        xntimer_start(&sched->htimer, 0, 0, XN_RELATIVE);
 
 #if defined(CONFIG_XENO_OPT_WATCHDOG)


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

Reply via email to