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

Author: Gilles Chanteperdrix <gilles.chanteperd...@xenomai.org>
Date:   Thu Nov 11 15:19:31 2010 +0100

arm: fix I-pipe patch version detection

---

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

diff --git a/include/asm-arm/wrappers.h b/include/asm-arm/wrappers.h
index 08ac004..97e6724 100644
--- a/include/asm-arm/wrappers.h
+++ b/include/asm-arm/wrappers.h
@@ -87,7 +87,8 @@ static inline void fp_init(union fp_state *state)
 #endif
 
 #if IPIPE_MAJOR_NUMBER == 1 && /* There is no version 0. */    \
-       (IPIPE_MINOR_NUMBER < 5 || IPIPE_PATCH_NUMBER < 3)
+       (IPIPE_MINOR_NUMBER < 5 || \
+        (IPIPE_MINOR_NUMBER == 5 && IPIPE_PATCH_NUMBER < 3))
 #define __ipipe_mach_release_timer()  \
        __ipipe_mach_set_dec(__ipipe_mach_ticks_per_jiffy)
 #endif /* IPIPE < 1.5-03 */


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

Reply via email to