Module: xenomai-forge
Branch: master
Commit: 5bbfc5acffdaae24562873ca46b860db7c10c768
URL:    
http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=5bbfc5acffdaae24562873ca46b860db7c10c768

Author: Gilles Chanteperdrix <gilles.chanteperd...@xenomai.org>
Date:   Tue Mar 20 12:29:43 2012 +0100

wrappers: fix build with legacy I-pipes supporting HOSTRT

---

 include/asm-generic/ipipe/wrappers.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/asm-generic/ipipe/wrappers.h 
b/include/asm-generic/ipipe/wrappers.h
index 536f1c4..9a7a444 100644
--- a/include/asm-generic/ipipe/wrappers.h
+++ b/include/asm-generic/ipipe/wrappers.h
@@ -41,7 +41,7 @@ struct ipipe_work_header {
        void (*handler)(struct ipipe_work_header *work);
 };
 
-#ifndef CONFIG_XENO_OPT_HOSTRT
+#if !defined(CONFIG_XENO_OPT_HOSTRT) && !defined(CONFIG_HAVE_IPIPE_HOSTRT)
 #define IPIPE_EVENT_HOSTRT  -1 /* Never received */
 #endif
 #define IPIPE_KEVT_SCHEDULE    IPIPE_EVENT_SCHEDULE


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

Reply via email to