x86/fpu: Eliminate the __thread_has_fpu() wrapper
authorIngo Molnar <mingo@kernel.org>
Thu, 23 Apr 2015 09:55:18 +0000 (11:55 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 19 May 2015 13:47:22 +0000 (15:47 +0200)
commit276983f8085db4a5f4e2cdcda6bce29a1da97eb0
treebe37a667d5c54b511a68ef298b8a82824a883dd2
parent9a89b02918c03d91e685d06e49a652da5f35befc
x86/fpu: Eliminate the __thread_has_fpu() wrapper

Start migrating FPU methods towards using 'struct fpu *fpu'
directly. __thread_has_fpu() is just a trivial wrapper around
fpu->has_fpu, eliminate it.

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
arch/x86/kernel/fpu/core.c