x86/fpu: Change __thread_clear_has_fpu() to 'struct fpu' parameter
authorIngo Molnar <mingo@kernel.org>
Thu, 23 Apr 2015 10:08:58 +0000 (12:08 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 19 May 2015 13:47:22 +0000 (15:47 +0200)
commit36fe6175be15d33fec7c6aa53e6e202ad44f0b25
tree25832e6a8e722b16b401818e1f206edaf13921bc
parent276983f8085db4a5f4e2cdcda6bce29a1da97eb0
x86/fpu: Change __thread_clear_has_fpu() to 'struct fpu' parameter

We do this to make the code more readable, and also to be able to eliminate
task_struct usage from most of the FPU code.

Reviewed-by: Borislav Petkov <bp@alien8.de>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/include/asm/fpu-internal.h