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

Author: Philippe Gerum <r...@xenomai.org>
Date:   Tue Dec 27 16:01:03 2011 +0100

arm: assume I-pipe sysinfo v2 is always available

---

 include/asm-arm/hal.h |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)

diff --git a/include/asm-arm/hal.h b/include/asm-arm/hal.h
index 3bb0312..ddc2d75 100644
--- a/include/asm-arm/hal.h
+++ b/include/asm-arm/hal.h
@@ -143,22 +143,14 @@ static inline __attribute_const__ unsigned long ffnz 
(unsigned long ul)
 /*
  * Default setting, unless pre-set in the machine-dependent section.
  */
-#ifdef __IPIPE_FEATURE_SYSINFO_V2
 #define RTHAL_TIMER_IRQ                __ipipe_mach_hrtimer_irq
-#else
-#define RTHAL_TIMER_IRQ                __ipipe_mach_timerint
-#endif /* __IPIPE_FEATURE_SYSINFO_V2 */
 #endif /* RTHAL_TIMER_IRQ */
 
 #ifndef RTHAL_TIMER_IPI
 #define RTHAL_TIMER_IPI IPIPE_SERVICE_IPI3
 #endif /* RTHAL_TIMER_IPI */
 
-#ifdef __IPIPE_FEATURE_SYSINFO_V2
 #define RTHAL_TSC_INFO(p)      ((p)->arch_tsc)
-#else
-#define RTHAL_TSC_INFO(p)      ((p)->archdep.tsc)
-#endif /* __IPIPE_FEATURE_SYSINFO_V2 */
 
 #define RTHAL_SHARED_HEAP_FLAGS (cache_is_vivt() ? XNHEAP_GFP_NONCACHED : 0)
 


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

Reply via email to