diff options
author | Ingo Molnar <mingo@kernel.org> | 2015-04-22 10:58:10 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-05-19 15:47:16 +0200 |
commit | f89e32e0a3df2f29d61fdc120ac62654ef267111 (patch) | |
tree | 0236937fad2be176f7307d1f37826a38eefa9537 /arch/x86/include/asm/fpu-internal.h | |
parent | ce4c4c26241f9ab08f14b028d40736f319ed2445 (diff) | |
download | linux-f89e32e0a3df2f29d61fdc120ac62654ef267111.tar.gz linux-f89e32e0a3df2f29d61fdc120ac62654ef267111.tar.bz2 linux-f89e32e0a3df2f29d61fdc120ac62654ef267111.zip |
x86/fpu: Fix header file dependencies of fpu-internal.h
Fix a minor header file dependency bug in asm/fpu-internal.h: it
relies on i387.h but does not include it. All users of fpu-internal.h
included it explicitly.
Also remove unnecessary includes, to reduce compilation time.
This also makes it easier to use it as a standalone header file
for FPU internals, such as an upcoming C module in arch/x86/kernel/fpu/.
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>
Diffstat (limited to 'arch/x86/include/asm/fpu-internal.h')
-rw-r--r-- | arch/x86/include/asm/fpu-internal.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/arch/x86/include/asm/fpu-internal.h b/arch/x86/include/asm/fpu-internal.h index f85d21b68901..c3b7bd12f18f 100644 --- a/arch/x86/include/asm/fpu-internal.h +++ b/arch/x86/include/asm/fpu-internal.h @@ -10,18 +10,13 @@ #ifndef _FPU_INTERNAL_H #define _FPU_INTERNAL_H -#include <linux/kernel_stat.h> #include <linux/regset.h> #include <linux/compat.h> #include <linux/slab.h> -#include <asm/asm.h> -#include <asm/cpufeature.h> -#include <asm/processor.h> -#include <asm/sigcontext.h> + #include <asm/user.h> -#include <asm/uaccess.h> +#include <asm/i387.h> #include <asm/xsave.h> -#include <asm/smap.h> #ifdef CONFIG_X86_64 # include <asm/sigcontext32.h> |