x86/fpu: Factor out the FPU bug detection code into fpu__init_check_bugs()
authorIngo Molnar <mingo@kernel.org>
Wed, 22 Apr 2015 11:44:25 +0000 (13:44 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 19 May 2015 13:47:18 +0000 (15:47 +0200)
commit4d1640927bd54aa118f91c2bcfe6c2de0e2ba2a3
treee1bc3a1b59f12862d4bad3e9c602c2456651e985
parent3a0aee4801d475b64a408539c01ec0d17d52192b
x86/fpu: Factor out the FPU bug detection code into fpu__init_check_bugs()

Move the boot-time FPU bug detection code to the other FPU boot time
init code in fpu/init.c.

No change in code size:

   text    data     bss     dec     hex filename
   13044568        1884440 1130496 16059504         f50c70 vmlinux.before
   13044568        1884440 1130496 16059504         f50c70 vmlinux.after

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/include/asm/i387.h
arch/x86/kernel/cpu/bugs.c
arch/x86/kernel/fpu/init.c