]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite228f6e8468831ebf994b1359ef0a91553a6824d
tree25832e6a8e722b16b401818e1f206edaf13921bc
parentcbf4c643404769147338fa3b13db19f1ba4d686d
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