]> git.baikalelectronics.ru Git - kernel.git/commit
x86/fpu: Set up the legacy FPU init image from fpu__init_system()
authorIngo Molnar <mingo@kernel.org>
Sat, 25 Apr 2015 06:35:53 +0000 (08:35 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 19 May 2015 13:47:41 +0000 (15:47 +0200)
commita515a812edfab93da7effe78f52c22c188c2a4dd
tree6320b786671fc3519f384f08df6b9a5c2bffdadd
parent6d5b748a18b5f815d27500d6b17d3b8e3272593c
x86/fpu: Set up the legacy FPU init image from fpu__init_system()

The legacy FPU init image is used on older CPUs who don't run xstate init.
But the init code is called within setup_init_fpu_buf(), an xstate method.

Move this legacy init out of the xstate code and put it into fpu/init.c.

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
arch/x86/kernel/fpu/xsave.c