]> git.baikalelectronics.ru Git - kernel.git/commit
x86/fpu: Create 'union thread_xstate' helper for fpstate_init()
authorIngo Molnar <mingo@kernel.org>
Thu, 30 Apr 2015 08:23:42 +0000 (10:23 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 19 May 2015 13:48:07 +0000 (15:48 +0200)
commitab4e6c8700d0eb71c53430ff87f9a9e6e6ab617b
tree0e97d51e030ab0d940375ebe8136027715d0952a
parenta785b830bcc051fa5cc89d4a274f748fff8deaa9
x86/fpu: Create 'union thread_xstate' helper for fpstate_init()

fpstate_init() only uses fpu->state, so pass that in to it.

This enables the cleanup we will do in the next patch.

Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Borislav Petkov <bp@alien8.de>
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
arch/x86/kernel/fpu/xstate.c
arch/x86/kvm/x86.c