x86/fpu: Simplify fpu__unlazy_stopped() error handling
authorIngo Molnar <mingo@kernel.org>
Mon, 27 Apr 2015 04:55:54 +0000 (06:55 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 19 May 2015 13:47:51 +0000 (15:47 +0200)
commit2fb29fc7c690d3d318471c42a62a05153d433cc1
treebf345add961eb205d8cca88ddc7a9363cd8c4e04
parente62bb3d894d312a37009fb07dc83fd1cc7bed37c
x86/fpu: Simplify fpu__unlazy_stopped() error handling

Now that FPU contexts are always allocated, fpu__unlazy_stopped()
cannot fail. Remove its error return and propagate the changes to
the callers.

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/core.c