Module: xenomai-2.6 Branch: master Commit: a29773f46f6b632b2dcce7f97a14936a684246ec URL: http://git.xenomai.org/?p=xenomai-2.6.git;a=commit;h=a29773f46f6b632b2dcce7f97a14936a684246ec
Author: Philippe Gerum <r...@xenomai.org> Date: Sat Apr 5 15:35:25 2014 +0200 hal/x86: fixup reference to fpu info for v3.13+ --- include/asm-x86/bits/pod.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/asm-x86/bits/pod.h b/include/asm-x86/bits/pod.h index c6fbcee..991ffc2 100644 --- a/include/asm-x86/bits/pod.h +++ b/include/asm-x86/bits/pod.h @@ -86,7 +86,9 @@ 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(2,6,20) +#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,6,13) + next->thread.fpu_counter = 0; +#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,20) next->fpu_counter = 0; #endif } else { _______________________________________________ Xenomai-git mailing list Xenomai-git@xenomai.org http://www.xenomai.org/mailman/listinfo/xenomai-git