Module: xenomai-3
Branch: stable-3.0.x
Commit: 67d93f02c8e7a639cbb466ec6bebda6948ebc4bb
URL:    
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=67d93f02c8e7a639cbb466ec6bebda6948ebc4bb

Author: Philippe Gerum <r...@xenomai.org>
Date:   Sun Apr 16 12:28:08 2017 +0200

cobalt/init: fix percpu definition

---

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

diff --git a/kernel/cobalt/init.c b/kernel/cobalt/init.c
index 1f7ce49..bdd9f35 100644
--- a/kernel/cobalt/init.c
+++ b/kernel/cobalt/init.c
@@ -69,7 +69,7 @@ static BLOCKING_NOTIFIER_HEAD(state_notifier_list);
 struct cobalt_pipeline cobalt_pipeline;
 EXPORT_SYMBOL_GPL(cobalt_pipeline);
 
-struct cobalt_machine_cpudata cobalt_machine_cpudata;
+DEFINE_PER_CPU(struct cobalt_machine_cpudata, cobalt_machine_cpudata);
 EXPORT_PER_CPU_SYMBOL_GPL(cobalt_machine_cpudata);
 
 atomic_t cobalt_runstate = ATOMIC_INIT(COBALT_STATE_WARMUP);


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

Reply via email to