Module: xenomai-forge Branch: next Commit: b1fbe47bc58e3a7cc883c0abb79068075c97aa0c URL: http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=b1fbe47bc58e3a7cc883c0abb79068075c97aa0c
Author: Gilles Chanteperdrix <gilles.chanteperd...@xenomai.org> Date: Sat Mar 23 21:45:39 2013 +0100 cobalt/nucleus: restrict host timer emulation to the shared case We don't want to run any timer emulation if the time source is not shared with the linux kernel. --- kernel/cobalt/nucleus/pod.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/kernel/cobalt/nucleus/pod.c b/kernel/cobalt/nucleus/pod.c index 8ca156f..f0d26b7 100644 --- a/kernel/cobalt/nucleus/pod.c +++ b/kernel/cobalt/nucleus/pod.c @@ -2157,7 +2157,7 @@ int xnpod_enable_timesource(void) sched = xnpod_sched_slot(cpu); 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