Module: xenomai-head Branch: master Commit: f534b966a077e1f68c613a0dc2f962ef558866ce URL: http://git.xenomai.org/?p=xenomai-head.git;a=commit;h=f534b966a077e1f68c613a0dc2f962ef558866ce
Author: Gilles Chanteperdrix <[email protected]> Date: Sun Sep 4 20:14:27 2011 +0200 linux-2.4: only include linux/ipipe_tickdev.h if I-pipe patch supports it --- include/asm-generic/hal.h | 1 - include/asm-generic/wrappers.h | 3 +++ 2 files changed, 3 insertions(+), 1 deletions(-) diff --git a/include/asm-generic/hal.h b/include/asm-generic/hal.h index b76f19a..efb0ef8 100644 --- a/include/asm-generic/hal.h +++ b/include/asm-generic/hal.h @@ -39,7 +39,6 @@ #include <asm/byteorder.h> #include <asm/xenomai/wrappers.h> #include <asm/xenomai/arith.h> -#include <linux/ipipe_tickdev.h> #define RTHAL_DOMAIN_ID 0x58454e4f diff --git a/include/asm-generic/wrappers.h b/include/asm-generic/wrappers.h index 75c0c5d..1940a96 100644 --- a/include/asm-generic/wrappers.h +++ b/include/asm-generic/wrappers.h @@ -28,6 +28,9 @@ #include <linux/version.h> #include <linux/module.h> #include <linux/slab.h> +#ifdef __IPIPE_FEATURE_REQUEST_TICKDEV +#include <linux/ipipe_tickdev.h> +#endif /* __IPIPE_FEATURE_REQUEST_TICKDEV */ #include <asm/io.h> #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0) _______________________________________________ Xenomai-git mailing list [email protected] https://mail.gna.org/listinfo/xenomai-git
