x86/fpu: Move various internal function prototypes to fpu/internal.h
authorIngo Molnar <mingo@kernel.org>
Sun, 26 Apr 2015 14:56:05 +0000 (16:56 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 19 May 2015 13:47:48 +0000 (15:47 +0200)
commit952f07ecbd4d9bac77c003ba136f8ee8ce631591
tree83d3abaa36140b5f9765796b9a6bc1b34066bbac
parentd63e79b114c0208bc2b7712c879568e180909d60
x86/fpu: Move various internal function prototypes to fpu/internal.h

There are a number of FPU internal function prototypes and an inline function
in fpu/api.h, mostly placed so historically as the code grew over the years.

Move them over into fpu/internal.h where they belong. (Add sched.h include
to stackprotector.h which incorrectly relied on getting it from fpu/api.h.)

fpu/api.h is now a pure file that only contains FPU APIs intended for driver
use.

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/api.h
arch/x86/include/asm/fpu/internal.h
arch/x86/include/asm/stackprotector.h
arch/x86/kernel/cpu/bugs.c
arch/x86/kvm/vmx.c
arch/x86/math-emu/fpu_entry.c
arch/x86/power/cpu.c
drivers/lguest/x86/core.c