[Xenomai-git] Gilles Chanteperdrix : nucleus: do not start host timer emulation if host timer is not shared
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 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
[Xenomai-git] Gilles Chanteperdrix : nucleus: do not start host timer emulation if host timer is not shared
Module: xenomai-2.6 Branch: master Commit: 926f4fbc2e38c198eefda6f0a98a278588d421db URL: http://git.xenomai.org/?p=xenomai-2.6.git;a=commit;h=926f4fbc2e38c198eefda6f0a98a278588d421db Author: Gilles Chanteperdrix 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