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

Author: Philippe Gerum <r...@xenomai.org>
Date:   Mon Apr  7 17:14:05 2014 +0200

hal/x86: fix wrong conditional

---

 include/asm-x86/bits/pod.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/asm-x86/bits/pod.h b/include/asm-x86/bits/pod.h
index 991ffc2..62fc11c 100644
--- a/include/asm-x86/bits/pod.h
+++ b/include/asm-x86/bits/pod.h
@@ -86,7 +86,7 @@ static inline void xnarch_switch_to(xnarchtcb_t *out_tcb, 
xnarchtcb_t *in_tcb)
                        clts();
                in_tcb->active_task = next;
                rthal_clear_foreign_stack(&rthal_domain);
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,6,13)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,13,0)
                next->thread.fpu_counter = 0;
 #elif LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,20)
                next->fpu_counter = 0;


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai-git

Reply via email to