x86_32: introduce restore_fpu_checking()
authorJiri Slaby <jirislaby@gmail.com>
Wed, 8 Apr 2009 11:31:58 +0000 (13:31 +0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 8 Apr 2009 11:46:00 +0000 (13:46 +0200)
commitfcb2ac5bdfa3a7a04fb9749b916f64400f4c35a8
treec251c870e6f01dafea5e370898e74968b3cda8c4
parent577c9c456f0e1371cbade38eaf91ae8e8a308555
x86_32: introduce restore_fpu_checking()

Impact: cleanup, prepare FPU code unificaton

Like on x86_64, return an error from restore_fpu and kill the task
if it fails.

Also rename restore_fpu to restore_fpu_checking which allows ifdefs
to be removed in math_state_restore().

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
LKML-Reference: <1239190320-23952-1-git-send-email-jirislaby@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/i387.h
arch/x86/kernel/traps.c