]> git.karo-electronics.de Git - karo-tx-linux.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)
commitbf935b0b526ffa0607476dfc6198593553957dd9
tree0e97d51e030ab0d940375ebe8136027715d0952a
parent0aba69789452faab6f6bd7cd293489bab66352bc
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