Re: [PATCH 6/8] x86,fpu: use an explicit if/else in switch_fpu_prepare

2015-02-17 Thread Borislav Petkov
On Fri, Feb 06, 2015 at 03:02:03PM -0500, r...@redhat.com wrote: > From: Rik van Riel > > Use an explicit if/else branch after __save_init_fpu(old) in > switch_fpu_prepare. This makes substituting the assignment > with a call to task_disable_lazy_fpu() in the next patch easier > to review. > >

Re: [PATCH 6/8] x86,fpu: use an explicit if/else in switch_fpu_prepare

2015-02-17 Thread Borislav Petkov
On Fri, Feb 06, 2015 at 03:02:03PM -0500, r...@redhat.com wrote: From: Rik van Riel r...@redhat.com Use an explicit if/else branch after __save_init_fpu(old) in switch_fpu_prepare. This makes substituting the assignment with a call to task_disable_lazy_fpu() in the next patch easier to

[PATCH 6/8] x86,fpu: use an explicit if/else in switch_fpu_prepare

2015-02-06 Thread riel
From: Rik van Riel Use an explicit if/else branch after __save_init_fpu(old) in switch_fpu_prepare. This makes substituting the assignment with a call to task_disable_lazy_fpu() in the next patch easier to review. Signed-off-by: Rik van Riel --- arch/x86/include/asm/fpu-internal.h | 5 +++--

[PATCH 6/8] x86,fpu: use an explicit if/else in switch_fpu_prepare

2015-02-06 Thread riel
From: Rik van Riel r...@redhat.com Use an explicit if/else branch after __save_init_fpu(old) in switch_fpu_prepare. This makes substituting the assignment with a call to task_disable_lazy_fpu() in the next patch easier to review. Signed-off-by: Rik van Riel r...@redhat.com ---