MIPS: math-emu: Header file weeding.
authorRalf Baechle <ralf@linux-mips.org>
Wed, 16 Apr 2014 00:09:53 +0000 (02:09 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 21 May 2014 09:12:53 +0000 (11:12 +0200)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/math-emu/cp1emu.c
arch/mips/math-emu/dp_tint.c
arch/mips/math-emu/dsemul.c
arch/mips/math-emu/ieee754d.c
arch/mips/math-emu/ieee754xcpt.c
arch/mips/math-emu/kernel_linkage.c
arch/mips/math-emu/sp_tint.c

index eabbbd9ff942da42355c7ab4f300e5640447f5a4..3ef9d99a729ed238d681eea0554305450c1adce7 100644 (file)
  * 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"
 
index 2a00805fdbebc6c5fc19edc73bc830832874948a..e6bc33fd61a9a4dfd2aceebfc694ab549b44796c 100644 (file)
@@ -24,7 +24,6 @@
  */
 
 
-#include <linux/kernel.h>
 #include "ieee754dp.h"
 
 int ieee754dp_tint(union ieee754dp x)
index cd047fe6d9eff87f1b5f3962a6744b88687f6222..3aea39d99c37992fa04e16fa2808155461a584c9 100644 (file)
@@ -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"
 
index 627932839d57840b15f15e5d2debe4f190f32c7f..6d4dc36a6fdc8c07f0058eb544243c584643314e 100644 (file)
@@ -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
index 005bbb1847818c6f0fd1510991290ea2ef0970df..d68408a1957057ea509af234bdd3af279596e6e5 100644 (file)
@@ -29,7 +29,7 @@
  *************************************************************************/
 
 #include <linux/compiler.h>
-#include <linux/kernel.h>
+#include <linux/printk.h>
 #include "ieee754.h"
 
 /*
index eb58a85b3157584c267d583554670afa2b12cf01..a7959005700b2ef2c31f9b1ebd9fededd2ceef41 100644 (file)
  * 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>
 
index 37cb096ee9312a7b14b00f41d85b80f71edd94d4..a69dfe5dda3a7680d88e1e0c1cc4974cfa9ca924 100644 (file)
@@ -24,7 +24,6 @@
  */
 
 
-#include <linux/kernel.h>
 #include "ieee754sp.h"
 
 int ieee754sp_tint(union ieee754sp x)