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

Author: Gilles Chanteperdrix <gilles.chanteperd...@xenomai.org>
Date:   Tue May  4 03:44:01 2010 +0200

arm: add missing #include

avoids the compilation warning:
wrappers.h:88: warning: "IPIPE_MAJOR_NUMBER" is not defined

---

 include/asm-arm/wrappers.h |   17 +++++++++--------
 1 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/include/asm-arm/wrappers.h b/include/asm-arm/wrappers.h
index 42d90b7..08ac004 100644
--- a/include/asm-arm/wrappers.h
+++ b/include/asm-arm/wrappers.h
@@ -24,11 +24,12 @@
 #error "Pure kernel header included from user-space!"
 #endif
 
-#include <asm-generic/xenomai/wrappers.h> /* Read the generic portion. */
+#include <linux/ipipe.h>
 #include <linux/interrupt.h>
+#include <asm-generic/xenomai/wrappers.h> /* Read the generic portion. */
 
 #define wrap_phys_mem_prot(filp,pfn,size,prot) (prot)
- 
+
 #define wrap_strncpy_from_user(dstP, srcP, n)  __strncpy_from_user(dstP, srcP, 
n)
 
 #define rthal_irq_desc_status(irq)     (rthal_irq_descp(irq)->status)
@@ -70,13 +71,13 @@ extern void (*fp_init)(union fp_state *);
 #define rthal_irq_chip_end(irq)      ({ rthal_irq_descp(irq)->ipipe_end(irq, 
rthal_irq_descp(irq)); 0; })
 typedef irq_handler_t rthal_irq_host_handler_t;
 #define rthal_mark_irq_disabled(irq) do {              \
-            rthal_irq_desc_status(irq) |= IRQ_DISABLED; \
-            rthal_irq_descp(irq)->depth = 1;            \
-        } while(0);
+           rthal_irq_desc_status(irq) |= IRQ_DISABLED; \
+           rthal_irq_descp(irq)->depth = 1;            \
+       } while(0);
 #define rthal_mark_irq_enabled(irq) do {                 \
-            rthal_irq_desc_status(irq) &= ~IRQ_DISABLED; \
-            rthal_irq_descp(irq)->depth = 0;             \
-        } while(0);
+           rthal_irq_desc_status(irq) &= ~IRQ_DISABLED; \
+           rthal_irq_descp(irq)->depth = 0;             \
+       } while(0);
 static inline void fp_init(union fp_state *state)
 {
     /* FIXME: This is insufficient. */


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

Reply via email to