hal/x86: fix kernel-space FPU with 4.1 kernel
commite4daa5ec64db5d789630adcade997dc08416f0ea
authorHenning Schild <henning.schild@siemens.com>
Mon, 24 Oct 2016 17:39:00 +0000 (24 19:39 +0200)
committerPhilippe Gerum <rpm@xenomai.org>
Wed, 26 Oct 2016 13:00:09 +0000 (26 15:00 +0200)
tree870c207006766c78d3f5ab430f6f4c06107a9937
parent252847ee575fb3ead970dd6d746875785dfa5c36
hal/x86: fix kernel-space FPU with 4.1 kernel

Starting at kernel 4.1 we have a per-cpu flag for kernel fpu and do not
abuse the flag of current anymore. This patch is a minimal fix for
something that is hard to get your head around, but xenomai 2.6 will not
go beyond 4.1. So not effort to fix or document what is going on ...

Signed-off-by: Henning Schild <henning.schild@siemens.com>
include/asm-x86/bits/pod.h