diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2014-04-16 02:09:53 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-05-21 11:12:53 +0200 |
commit | cd8ee345e8affceaa3f846012db7eb799a6d918f (patch) | |
tree | a19b27891b6df885546e05637360fb46f2072ef2 /arch | |
parent | 5160d45dd2f6e72e40f79e3dc77daa7a8337685b (diff) | |
download | linux-stable-cd8ee345e8affceaa3f846012db7eb799a6d918f.tar.gz linux-stable-cd8ee345e8affceaa3f846012db7eb799a6d918f.tar.bz2 linux-stable-cd8ee345e8affceaa3f846012db7eb799a6d918f.zip |
MIPS: math-emu: Header file weeding.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/math-emu/cp1emu.c | 10 | ||||
-rw-r--r-- | arch/mips/math-emu/dp_tint.c | 1 | ||||
-rw-r--r-- | arch/mips/math-emu/dsemul.c | 17 | ||||
-rw-r--r-- | arch/mips/math-emu/ieee754d.c | 3 | ||||
-rw-r--r-- | arch/mips/math-emu/ieee754xcpt.c | 2 | ||||
-rw-r--r-- | arch/mips/math-emu/kernel_linkage.c | 7 | ||||
-rw-r--r-- | arch/mips/math-emu/sp_tint.c | 1 |
7 files changed, 12 insertions, 29 deletions
diff --git a/arch/mips/math-emu/cp1emu.c b/arch/mips/math-emu/cp1emu.c index eabbbd9ff942..3ef9d99a729e 100644 --- a/arch/mips/math-emu/cp1emu.c +++ b/arch/mips/math-emu/cp1emu.c @@ -34,20 +34,18 @@ * better performance by compiling with -msoft-float! */ #include <linux/sched.h> -#include <linux/module.h> #include <linux/debugfs.h> #include <linux/perf_event.h> +#include <asm/branch.h> #include <asm/inst.h> -#include <asm/bootinfo.h> -#include <asm/processor.h> #include <asm/ptrace.h> #include <asm/signal.h> -#include <asm/mipsregs.h> +#include <asm/uaccess.h> + +#include <asm/processor.h> #include <asm/fpu_emulator.h> #include <asm/fpu.h> -#include <asm/uaccess.h> -#include <asm/branch.h> #include "ieee754.h" diff --git a/arch/mips/math-emu/dp_tint.c b/arch/mips/math-emu/dp_tint.c index 2a00805fdbeb..e6bc33fd61a9 100644 --- a/arch/mips/math-emu/dp_tint.c +++ b/arch/mips/math-emu/dp_tint.c @@ -24,7 +24,6 @@ */ -#include <linux/kernel.h> #include "ieee754dp.h" int ieee754dp_tint(union ieee754dp x) diff --git a/arch/mips/math-emu/dsemul.c b/arch/mips/math-emu/dsemul.c index cd047fe6d9ef..3aea39d99c37 100644 --- a/arch/mips/math-emu/dsemul.c +++ b/arch/mips/math-emu/dsemul.c @@ -1,20 +1,9 @@ -#include <linux/compiler.h> -#include <linux/mm.h> -#include <linux/signal.h> -#include <linux/smp.h> - -#include <asm/asm.h> -#include <asm/bootinfo.h> -#include <asm/byteorder.h> -#include <asm/cpu.h> -#include <asm/inst.h> -#include <asm/processor.h> -#include <asm/uaccess.h> #include <asm/branch.h> -#include <asm/mipsregs.h> #include <asm/cacheflush.h> - #include <asm/fpu_emulator.h> +#include <asm/inst.h> +#include <asm/mipsregs.h> +#include <asm/uaccess.h> #include "ieee754.h" diff --git a/arch/mips/math-emu/ieee754d.c b/arch/mips/math-emu/ieee754d.c index 627932839d57..6d4dc36a6fdc 100644 --- a/arch/mips/math-emu/ieee754d.c +++ b/arch/mips/math-emu/ieee754d.c @@ -25,7 +25,8 @@ * Copyright (C) 2000 MIPS Technologies, Inc. All rights reserved. */ -#include <linux/kernel.h> +#include <linux/types.h> +#include <linux/printk.h> #include "ieee754.h" #define DP_EBIAS 1023 diff --git a/arch/mips/math-emu/ieee754xcpt.c b/arch/mips/math-emu/ieee754xcpt.c index 005bbb184781..d68408a19570 100644 --- a/arch/mips/math-emu/ieee754xcpt.c +++ b/arch/mips/math-emu/ieee754xcpt.c @@ -29,7 +29,7 @@ *************************************************************************/ #include <linux/compiler.h> -#include <linux/kernel.h> +#include <linux/printk.h> #include "ieee754.h" /* diff --git a/arch/mips/math-emu/kernel_linkage.c b/arch/mips/math-emu/kernel_linkage.c index eb58a85b3157..a7959005700b 100644 --- a/arch/mips/math-emu/kernel_linkage.c +++ b/arch/mips/math-emu/kernel_linkage.c @@ -19,11 +19,8 @@ * manipulation primitives for the Algorithmics MIPS * FPU Emulator */ -#include <linux/sched.h> -#include <asm/processor.h> -#include <asm/signal.h> -#include <asm/uaccess.h> - +#include <linux/printk.h> +#include <asm/current.h> #include <asm/fpu.h> #include <asm/fpu_emulator.h> diff --git a/arch/mips/math-emu/sp_tint.c b/arch/mips/math-emu/sp_tint.c index 37cb096ee931..a69dfe5dda3a 100644 --- a/arch/mips/math-emu/sp_tint.c +++ b/arch/mips/math-emu/sp_tint.c @@ -24,7 +24,6 @@ */ -#include <linux/kernel.h> #include "ieee754sp.h" int ieee754sp_tint(union ieee754sp x) |