From: Henning Schild Date: Fri, 14 Sep 2018 17:10:16 +0200 Message-Id: <20180914151018.1226-3-henning.schild@siemens.com> In-Reply-To: <20180914151018.1226-1-henning.schild@siemens.com> References: <20180914151018.1226-1-henning.schild@siemens.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Xenomai] [PATCHv2 2/4] cobalt/x86: add ipipe-4.4 eager fpu support List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: xenomai@xenomai.org Linux 4.4.138 switched to eager fpu, set IPIPE_X86_FPU_EAGER accordingly. Signed-off-by: Henning Schild --- kernel/cobalt/arch/x86/include/asm/xenomai/wrappers.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kernel/cobalt/arch/x86/include/asm/xenomai/wrappers.h b/kernel/cobalt/arch/x86/include/asm/xenomai/wrappers.h index 00f0aaae5..a47730106 100644 --- a/kernel/cobalt/arch/x86/include/asm/xenomai/wrappers.h +++ b/kernel/cobalt/arch/x86/include/asm/xenomai/wrappers.h @@ -28,6 +28,10 @@ LINUX_VERSION_CODE < KERNEL_VERSION(4,10,0) #define IPIPE_X86_FPU_EAGER #endif +#if LINUX_VERSION_CODE > KERNEL_VERSION(4,4,137) && \ + LINUX_VERSION_CODE < KERNEL_VERSION(4,5,0) +#define IPIPE_X86_FPU_EAGER +#endif #if LINUX_VERSION_CODE < KERNEL_VERSION(4,2,0) #include -- 2.19.0