Module: xenomai-2.5 Branch: master Commit: 319b65f7cafb7833589c815ee95d88ec163f1df1 URL: http://git.xenomai.org/?p=xenomai-2.5.git;a=commit;h=319b65f7cafb7833589c815ee95d88ec163f1df1
Author: Gilles Chanteperdrix <[email protected]> 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 [email protected] https://mail.gna.org/listinfo/xenomai-git
