]> git.baikalelectronics.ru Git - kernel.git/commit
x86/fpu: Remove the free_thread_xstate() complication
authorIngo Molnar <mingo@kernel.org>
Wed, 22 Apr 2015 09:44:46 +0000 (11:44 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 19 May 2015 13:47:17 +0000 (15:47 +0200)
commitb278a615d5cb2b202351a09c02c3bc0f041ccdbe
tree952b90814d086b5852fdadaf1d70530ff428a99f
parentb1a2f5296d719dc87c5c79d2345c347e784e532e
x86/fpu: Remove the free_thread_xstate() complication

Use fpstate_free() directly to manage FPU state.

Only process.c was using this method, so this is a speedup as well,
as it removes the extra function call and related clobbers.

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/processor.h
arch/x86/kernel/process.c