Module: xenomai-3
Branch: next
Commit: 3782de788f40169f385df49e8ab9b6f949a5eb35
URL:    
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=3782de788f40169f385df49e8ab9b6f949a5eb35

Author: Philippe Gerum <r...@xenomai.org>
Date:   Tue May  2 10:23:25 2017 +0200

cobalt/clock: fixup for kernel 4.9+

---

 kernel/cobalt/clock.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/cobalt/clock.c b/kernel/cobalt/clock.c
index 61778cd..2ab128e 100644
--- a/kernel/cobalt/clock.c
+++ b/kernel/cobalt/clock.c
@@ -749,7 +749,7 @@ void xnclock_tick(struct xnclock *clock)
         * Some external clock devices may have no percpu semantics,
         * in which case all timers are queued to slot #0.
         */
-       if (config_enabled(CONFIG_XENO_OPT_EXTCLOCK) &&
+       if (IS_ENABLED(CONFIG_XENO_OPT_EXTCLOCK) &&
            clock != &nkclock &&
            !cpumask_test_cpu(xnsched_cpu(sched), &clock->affinity))
                tmq = &xnclock_percpu_timerdata(clock, 0)->q;


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

Reply via email to