projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c86753
)
x86/fpu: Remove unnecessary includes from core.c
author
Ingo Molnar
<
[email protected]
>
Wed, 22 Apr 2015 09:33:25 +0000
(11:33 +0200)
committer
Ingo Molnar
<
[email protected]
>
Tue, 19 May 2015 13:47:16 +0000
(15:47 +0200)
fpu/core.c includes a lot of files for mostly historic reasons.
It only needs fpu-internal.h, which already includes all
the required headers.
Reviewed-by: Borislav Petkov <
[email protected]
>
Cc: Andy Lutomirski <
[email protected]
>
Cc: Dave Hansen <
[email protected]
>
Cc: Fenghua Yu <
[email protected]
>
Cc: H. Peter Anvin <
[email protected]
>
Cc: Linus Torvalds <
[email protected]
>
Cc: Oleg Nesterov <
[email protected]
>
Cc: Peter Zijlstra <
[email protected]
>
Cc: Thomas Gleixner <
[email protected]
>
Signed-off-by: Ingo Molnar <
[email protected]
>
arch/x86/kernel/fpu/core.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/fpu/core.c
b/arch/x86/kernel/fpu/core.c
index 9866a580952ffeabe7173edbec18c9c229723ed4..b05199fa168cdfe6bc970f536c85d53415889875 100644
(file)
--- a/
arch/x86/kernel/fpu/core.c
+++ b/
arch/x86/kernel/fpu/core.c
@@
-5,20
+5,7
@@
* General FPU state handling cleanups
* Gareth Hughes <
[email protected]
>, May 2000
*/
-#include <linux/module.h>
-#include <linux/regset.h>
-#include <linux/sched.h>
-#include <linux/slab.h>
-
-#include <asm/sigcontext.h>
-#include <asm/processor.h>
-#include <asm/math_emu.h>
-#include <asm/tlbflush.h>
-#include <asm/uaccess.h>
-#include <asm/ptrace.h>
-#include <asm/i387.h>
#include <asm/fpu-internal.h>
-#include <asm/user.h>
static DEFINE_PER_CPU(bool, in_kernel_fpu);