x86/fpu: Factor out FPU bug checks into fpu/bugs.c
authorIngo Molnar <mingo@kernel.org>
Sun, 26 Apr 2015 12:48:08 +0000 (14:48 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 19 May 2015 13:47:45 +0000 (15:47 +0200)
commit0bf23f3d6cadb2f0961d0ea370371cf35480bcb5
tree6634df766d0a54bab0b8c0fc06d74dd39f00869c
parente83ab9ad97a702917cb018e6c5a7d1176ff95305
x86/fpu: Factor out FPU bug checks into fpu/bugs.c

Create separate fpu/bugs.c code so that if we read generic FPU code
we don't have to wade through all the bugcheck related code first.

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/Makefile
arch/x86/kernel/fpu/bugs.c [new file with mode: 0644]
arch/x86/kernel/fpu/init.c