x86/fpu: Rename init_thread_xstate() to fpstate_xstate_init_size()
authorIngo Molnar <mingo@kernel.org>
Fri, 3 Apr 2015 11:22:42 +0000 (13:22 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 19 May 2015 13:47:14 +0000 (15:47 +0200)
commit3f6a0bce90289e0980b4250ccb03b765860247ee
treedd77787556f9047dbb9f4d5116170bd8ed8fbb18
parent3a9c4b0d7e1a693beeac24d749f6938444148e86
x86/fpu: Rename init_thread_xstate() to fpstate_xstate_init_size()

So init_thread_xstate() is a misnomer in that it's not really related to a specific
thread - it determines, once during initial bootup, the size of the xstate context.

Also improve the comments.

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