Module: xenomai-gch
Branch: for-forge
Commit: 150369efc21b28066a914882709706baccc0d330
URL:    
http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=150369efc21b28066a914882709706baccc0d330

Author: Gilles Chanteperdrix <gilles.chanteperd...@xenomai.org>
Date:   Tue Dec 24 19:07:03 2013 +0100

addendum fd: use the correct debug define

---

 kernel/cobalt/fd.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/kernel/cobalt/fd.c b/kernel/cobalt/fd.c
index cc1af8b..4803af5 100644
--- a/kernel/cobalt/fd.c
+++ b/kernel/cobalt/fd.c
@@ -66,7 +66,7 @@ int xnfd_enter(struct xnfd *xnfd, unsigned magic, int ufd,
        bucket = xnfd_crunch(ufd, xnfd->mm);
        
        xnlock_get_irqsave(&xnfd_lock, s);
-#if XENO_DEBUG(COBALT)
+#if XENO_DEBUG(NUCLEUS)
        if (xnfd_hash_search(ufd, xnfd->mm)) {
                xnlock_put_irqrestore(&xnfd_lock, s);
                return -EBUSY;
@@ -124,7 +124,7 @@ int xnfd_put(struct xnfd *xnfd)
        spl_t s;
        
        xnlock_get_irqsave(&xnfd_lock, s);
-#if XENO_DEBUG(COBALT)
+#if XENO_DEBUG(NUCLEUS)
        if (xnfd_hash_search(xnfd->ufd, xnfd->mm) != xnfd) {
                xnlock_put_irqrestore(&xnfd_lock, s);
                return -EBADF;


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

Reply via email to