diff options
author | Ingo Molnar <mingo@kernel.org> | 2015-04-22 13:44:25 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-05-19 15:47:18 +0200 |
commit | 4d1640927bd54aa118f91c2bcfe6c2de0e2ba2a3 (patch) | |
tree | e1bc3a1b59f12862d4bad3e9c602c2456651e985 /arch/x86/include/asm/i387.h | |
parent | x86/fpu: Rename math_state_restore() to fpu__restore() (diff) | |
download | linux-4d1640927bd54aa118f91c2bcfe6c2de0e2ba2a3.tar.xz linux-4d1640927bd54aa118f91c2bcfe6c2de0e2ba2a3.zip |
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>
Diffstat (limited to 'arch/x86/include/asm/i387.h')
-rw-r--r-- | arch/x86/include/asm/i387.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/i387.h b/arch/x86/include/asm/i387.h index c8ee395dd6c6..89ae3e051741 100644 --- a/arch/x86/include/asm/i387.h +++ b/arch/x86/include/asm/i387.h @@ -24,6 +24,7 @@ extern void fpu__flush_thread(struct task_struct *tsk); extern int dump_fpu(struct pt_regs *, struct user_i387_struct *); extern void fpu__restore(void); +extern void fpu__init_check_bugs(void); extern bool irq_fpu_usable(void); |