]> git.baikalelectronics.ru Git - kernel.git/commit
x86/fpu: Rename fpu__unlazy_stopped() to fpu__activate_stopped()
authorIngo Molnar <mingo@kernel.org>
Mon, 27 Apr 2015 05:22:58 +0000 (07:22 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 19 May 2015 13:47:52 +0000 (15:47 +0200)
commit5b64dc4dc37ac7f2ae443ccaf9ebd7707f2e78fe
tree5a93481cefe42f365f6c378f8d9f825b4240aaac
parent1d2a15fc3ee157a7e3ea28e0bd2007d2373db4f0
x86/fpu: Rename fpu__unlazy_stopped() to fpu__activate_stopped()

In line with the fpstate_activate() change, name
fpu__unlazy_stopped() in a similar fashion as well: its purpose
is to make the fpstate of a stopped task the current and active FPU
context, which may require unlazying and initialization.

The unlazying is just part of the job, the main concept is to make
the fpstate active.

Also clarify the function's description to clarify its exact
usage and the background behind it all.

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