x86/fpu: Rename drop_init_fpu() to fpu_reset_state()
authorBorislav Petkov <bp@suse.de>
Mon, 16 Mar 2015 09:21:55 +0000 (10:21 +0100)
committerIngo Molnar <mingo@kernel.org>
Mon, 23 Mar 2015 09:13:59 +0000 (10:13 +0100)
commitb85e67d1483c72b77d1bdc265aa8ba91590794c1
treed79460926c6fd09bc35d9d3428fa24cc12fa95ea
parentd2d0ac9a4644e00120bb9b7427a512a99d2cacc5
x86/fpu: Rename drop_init_fpu() to fpu_reset_state()

Call it what it does and in accordance with the context where it is
used: we reset the FPU state either because we were unable to restore it
from the one saved in the task or because we simply want to reset it.

Signed-off-by: Borislav Petkov <bp@suse.de>
Acked-by: Oleg Nesterov <oleg@redhat.com>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Rik van Riel <riel@redhat.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/include/asm/fpu-internal.h
arch/x86/kernel/i387.c
arch/x86/kernel/signal.c
arch/x86/kernel/traps.c
arch/x86/kernel/xsave.c