x86/fpu: Remove failure return from fpstate_alloc_init()
authorIngo Molnar <mingo@kernel.org>
Mon, 27 Apr 2015 04:46:52 +0000 (06:46 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 19 May 2015 13:47:50 +0000 (15:47 +0200)
commit91d93d0e206432b9fe4c88e64577b93aef018f98
tree71c291c38375a46bcc0d88015d21910fcafd18d4
parentc4d6ee6e2e52ec604cc1d76877791f8e8f5c79b5
x86/fpu: Remove failure return from fpstate_alloc_init()

Remove the failure code and propagate this down to callers.

Note that this function still has an 'init' aspect, which must be
called.

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/fpu/internal.h
arch/x86/kernel/fpu/core.c
arch/x86/kernel/fpu/xsave.c
arch/x86/kvm/x86.c
arch/x86/math-emu/fpu_entry.c