x86/fpu: Move fpu_copy() to fpu/core.c
authorIngo Molnar <mingo@kernel.org>
Wed, 22 Apr 2015 18:09:29 +0000 (20:09 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 19 May 2015 13:47:21 +0000 (15:47 +0200)
commite102f30f4e22b7eb8f3dfbe7fec334cffb350fd8
tree856e0743e1e0a8964827cebb56cafb10673ea78a
parent6522d783773d0d61f9f35cae890f8c11c4510d9a
x86/fpu: Move fpu_copy() to fpu/core.c

Move fpu_copy() where its only user is.

Beyond readability this also speeds up compilation, as fpu-internal.h
is included in over a dozen .c files.

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/include/asm/fpu-internal.h
arch/x86/kernel/fpu/core.c