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

Author: Philippe Gerum <r...@xenomai.org>
Date:   Sun Oct  4 00:09:49 2009 +0200

x86: fix 64bit build for SMP kernels < 2.6.31

---

 ksrc/arch/x86/hal-common.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ksrc/arch/x86/hal-common.c b/ksrc/arch/x86/hal-common.c
index 1497fee..7286987 100644
--- a/ksrc/arch/x86/hal-common.c
+++ b/ksrc/arch/x86/hal-common.c
@@ -107,7 +107,7 @@ static inline void send_IPI_allbutself(int vector)
                          | vector);
        rthal_local_irq_restore_hw(flags);
 }
-#elif defined(__i386__) && LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30)
+#elif LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30)
 #include <mach_ipi.h>
 #else
 #define send_IPI_allbutself(vector)    apic->send_IPI_allbutself(vector)


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

Reply via email to