x86/fpu: Remove check_fpu() indirection
authorBorislav Petkov <bp@suse.de>
Tue, 5 Apr 2016 06:29:54 +0000 (08:29 +0200)
committerIngo Molnar <mingo@kernel.org>
Wed, 13 Apr 2016 09:37:43 +0000 (11:37 +0200)
commitde82fbc3823b7b15ee03466ebfb1c5ec7cc1a941
treed327eaa9cfb676954b53e0f8aed20e35eccb6c97
parenteff4677e9fb9b680d1d5f6ba079116548d072b7e
x86/fpu: Remove check_fpu() indirection

Rename it to fpu__init_check_bugs() and do the CPU feature check at
entry, thus getting rid of the old fpu__init_check_bugs() wrapper.

Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1459837795-2588-6-git-send-email-bp@alien8.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/fpu/bugs.c