x86/fpu: Do fpu__init_system_xstate only from fpu__init_system()
authorIngo Molnar <mingo@kernel.org>
Sat, 25 Apr 2015 06:21:08 +0000 (08:21 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 19 May 2015 13:47:41 +0000 (15:47 +0200)
commit429ced50a0e5f863f95b100749043451e1968c4c
treed57b56e8aac6d5a76d0c1d2ad73c51c5d0a2eb60
parentc42103b22652dae50e1aaacb5c2767145027ab3e
x86/fpu: Do fpu__init_system_xstate only from fpu__init_system()

Only call xstate system setup routines from fpu__init_system().

Likewise, don't call fpu__init_cpu_xstate() from fpu__init_system().

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/kernel/fpu/init.c