x86/fpu: Factor out fpu__init_cpu_generic()
authorIngo Molnar <mingo@kernel.org>
Sun, 26 Apr 2015 12:32:34 +0000 (14:32 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 19 May 2015 13:47:44 +0000 (15:47 +0200)
commitb11316ed9ed9e453562d9f89a39d344331a3ec1d
tree4eac66340e83fe3ae60cfc46a004d77da4709002
parent21c4cd108a1b144ad645355bfee1f8be937f03a2
x86/fpu: Factor out fpu__init_cpu_generic()

Factor out the generic bits from fpu__init_cpu(), to create
a flat sequence of per CPU initialization function calls:

fpu__init_cpu_generic();
fpu__init_cpu_xstate();
fpu__init_cpu_ctx_switch();

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