Re: [PATCH] cobalt/x86: fix condition in eager fpu code for kernels < 4.14

2019-01-07 Thread Mauro Salvini via Xenomai
On Sat, 2018-12-22 at 12:42 +0100, Jan Kiszka via Xenomai wrote: > On 21.12.18 14:44, Henning Schild via Xenomai wrote: > > From: Henning Schild > > > > We should mark the current task as not owning the fpu anymore if it > > does > > actually own the fpu, not if the fpu itself is active. > > >

Re: [PATCH] cobalt/x86: fix condition in eager fpu code for kernels < 4.14

2018-12-22 Thread Jan Kiszka via Xenomai
On 21.12.18 14:44, Henning Schild via Xenomai wrote: From: Henning Schild We should mark the current task as not owning the fpu anymore if it does actually own the fpu, not if the fpu itself is active. Fixes cb52e6c7438fa Reported-by: Mauro Salvini Signed-off-by: Henning Schild ---

[PATCH] cobalt/x86: fix condition in eager fpu code for kernels < 4.14

2018-12-21 Thread Henning Schild via Xenomai
From: Henning Schild We should mark the current task as not owning the fpu anymore if it does actually own the fpu, not if the fpu itself is active. Fixes cb52e6c7438fa Reported-by: Mauro Salvini Signed-off-by: Henning Schild --- kernel/cobalt/arch/x86/thread.c | 2 +- 1 file changed, 1