Module: xenomai-3 Branch: stable-3.0.x Commit: 8559d512a19a4b49fb0fc365a271627802d93c47 URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=8559d512a19a4b49fb0fc365a271627802d93c47
Author: Philippe Gerum <r...@xenomai.org> Date: Fri Nov 18 19:05:19 2016 +0100 cobalt/clock: fix build issue w/ CONFIG_SMP off --- kernel/cobalt/clock.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/cobalt/clock.c b/kernel/cobalt/clock.c index 796358f..61778cd 100644 --- a/kernel/cobalt/clock.c +++ b/kernel/cobalt/clock.c @@ -744,6 +744,7 @@ void xnclock_tick(struct xnclock *clock) atomic_only(); +#ifdef CONFIG_SMP /* * Some external clock devices may have no percpu semantics, * in which case all timers are queued to slot #0. @@ -753,6 +754,7 @@ void xnclock_tick(struct xnclock *clock) !cpumask_test_cpu(xnsched_cpu(sched), &clock->affinity)) tmq = &xnclock_percpu_timerdata(clock, 0)->q; else +#endif tmq = &xnclock_this_timerdata(clock)->q; /* _______________________________________________ Xenomai-git mailing list Xenomai-git@xenomai.org https://xenomai.org/mailman/listinfo/xenomai-git