Skip to content

Commit

Permalink
MIPS: math-emu: Header file weeding.
Browse files Browse the repository at this point in the history
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Ralf Baechle committed May 21, 2014
1 parent 5160d45 commit cd8ee34
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 29 deletions.
10 changes: 4 additions & 6 deletions arch/mips/math-emu/cp1emu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
1 change: 0 additions & 1 deletion arch/mips/math-emu/dp_tint.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
*/


#include <linux/kernel.h>
#include "ieee754dp.h"

int ieee754dp_tint(union ieee754dp x)
Expand Down
17 changes: 3 additions & 14 deletions arch/mips/math-emu/dsemul.c
Original file line number Diff line number Diff line change
@@ -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"

Expand Down
3 changes: 2 additions & 1 deletion arch/mips/math-emu/ieee754d.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion arch/mips/math-emu/ieee754xcpt.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
*************************************************************************/

#include <linux/compiler.h>
#include <linux/kernel.h>
#include <linux/printk.h>
#include "ieee754.h"

/*
Expand Down
7 changes: 2 additions & 5 deletions arch/mips/math-emu/kernel_linkage.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down
1 change: 0 additions & 1 deletion arch/mips/math-emu/sp_tint.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
*/


#include <linux/kernel.h>
#include "ieee754sp.h"

int ieee754sp_tint(union ieee754sp x)
Expand Down

0 comments on commit cd8ee34

Please sign in to comment.