Module: xenomai-2.6 Branch: master Commit: 3cf927a630edd3a41a8fb06e7d66169338d95038 URL: http://git.xenomai.org/?p=xenomai-2.6.git;a=commit;h=3cf927a630edd3a41a8fb06e7d66169338d95038
Author: Gilles Chanteperdrix <gilles.chanteperd...@xenomai.org> Date: Wed Jul 6 16:38:45 2016 +0200 hal/x86: forbid compilation with Linux 4.0+ --- include/asm-x86/bits/pod.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/asm-x86/bits/pod.h b/include/asm-x86/bits/pod.h index 62fc11c..678720a 100644 --- a/include/asm-x86/bits/pod.h +++ b/include/asm-x86/bits/pod.h @@ -44,6 +44,10 @@ void xnpod_delete_thread(struct xnthread *); #define xnarch_stop_timer(cpu) rthal_timer_release(cpu) +#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,0,0) +#error "Xenomai x86 FPU support broken on Linux 4.0 and later" +#endif + static inline void xnarch_leave_root(xnarchtcb_t *rootcb) { rthal_root_preempt_notify(); _______________________________________________ Xenomai-git mailing list Xenomai-git@xenomai.org https://xenomai.org/mailman/listinfo/xenomai-git