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

Author: Philippe Gerum <r...@xenomai.org>
Date:   Sun Aug  2 16:47:23 2009 +0200

x86: fix include for kernel >= 2.6.30

---

 include/asm-x86/hal_64.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/include/asm-x86/hal_64.h b/include/asm-x86/hal_64.h
index a265252..938ea13 100644
--- a/include/asm-x86/hal_64.h
+++ b/include/asm-x86/hal_64.h
@@ -125,8 +125,10 @@ static const char *const rthal_fault_labels[] = {
 #include <asm/mach_apic.h>
 #else
 #include <asm/apic.h>
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30)
 #include <mach_ipi.h>
 #endif
+#endif
 
 static inline void rthal_setup_periodic_apic(int count, int vector)
 {


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

Reply via email to