x86/fpu: Move restore_init_xstate() out of fpu/internal.h
authorIngo Molnar <mingo@kernel.org>
Thu, 30 Apr 2015 09:21:59 +0000 (11:21 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 19 May 2015 13:48:08 +0000 (15:48 +0200)
commit815418890e2a3984d8b04c433072df1a42573f96
tree49749e4f4a36567162d723ea828f1577576ed874
parent6f57502310c85b60bdea78228e9b5bb3e82dc3b7
x86/fpu: Move restore_init_xstate() out of fpu/internal.h

Move restore_init_xstate() next to its sole caller.

Also rename it to copy_init_fpstate_to_fpregs() and add
some comments about what it does.

Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Borislav Petkov <bp@alien8.de>
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/include/asm/fpu/internal.h
arch/x86/kernel/fpu/core.c