Module: xenomai-forge
Branch: next
Commit: 2a6ab571a7c8fd813311e15e0672c63cf7ba3594
URL:    
http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=2a6ab571a7c8fd813311e15e0672c63cf7ba3594

Author: Philippe Gerum <r...@xenomai.org>
Date:   Thu May 29 16:19:50 2014 +0200

cobalt/rtdm/fd: fix build with OPT_DEBUG_XNLOCK on

---

 kernel/cobalt/rtdm/fd.c |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/kernel/cobalt/rtdm/fd.c b/kernel/cobalt/rtdm/fd.c
index 15ca4cb..d2b42b2 100644
--- a/kernel/cobalt/rtdm/fd.c
+++ b/kernel/cobalt/rtdm/fd.c
@@ -29,9 +29,7 @@
 #include <trace/events/cobalt-rtdm.h>
 #include <rtdm/fd.h>
 
-#ifdef CONFIG_SMP
-static DEFINE_XNLOCK(__rtdm_fd_lock);
-#endif
+DEFINE_PRIVATE_XNLOCK(__rtdm_fd_lock);
 static LIST_HEAD(rtdm_fd_cleanup_queue);
 static struct semaphore rtdm_fd_cleanup_sem;
 


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

Reply via email to