aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/mm
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-07-22 08:02:24 -0400
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-10-31 19:30:54 -0400
commitcdd0b0ac120185ea1adb4dd42ce552617e1cc0d6 (patch)
tree4347f2deeeba1e74a2d2603cd9e554fb721f0e68 /arch/sparc/mm
parent066bcaca51946c8305e3d637a795e8ccf8dbd3cf (diff)
sparc: remove several unnecessary module.h include instances
Building an allyesconfig doesn't reveal a hidden need for any of these. Since module.h brings in the whole kitchen sink, it just needlessly adds 30k+ lines to the cpp burden. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'arch/sparc/mm')
-rw-r--r--arch/sparc/mm/extable.c1
-rw-r--r--arch/sparc/mm/fault_32.c1
-rw-r--r--arch/sparc/mm/hugetlbpage.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/arch/sparc/mm/extable.c b/arch/sparc/mm/extable.c
index a61c349448e1..7131eacc120f 100644
--- a/arch/sparc/mm/extable.c
+++ b/arch/sparc/mm/extable.c
@@ -2,7 +2,6 @@
2 * linux/arch/sparc/mm/extable.c 2 * linux/arch/sparc/mm/extable.c
3 */ 3 */
4 4
5#include <linux/module.h>
6#include <asm/uaccess.h> 5#include <asm/uaccess.h>
7 6
8void sort_extable(struct exception_table_entry *start, 7void sort_extable(struct exception_table_entry *start,
diff --git a/arch/sparc/mm/fault_32.c b/arch/sparc/mm/fault_32.c
index aa1c1b1ce5cc..8023fd7e77b5 100644
--- a/arch/sparc/mm/fault_32.c
+++ b/arch/sparc/mm/fault_32.c
@@ -20,7 +20,6 @@
20#include <linux/smp.h> 20#include <linux/smp.h>
21#include <linux/perf_event.h> 21#include <linux/perf_event.h>
22#include <linux/interrupt.h> 22#include <linux/interrupt.h>
23#include <linux/module.h>
24#include <linux/kdebug.h> 23#include <linux/kdebug.h>
25 24
26#include <asm/system.h> 25#include <asm/system.h>
diff --git a/arch/sparc/mm/hugetlbpage.c b/arch/sparc/mm/hugetlbpage.c
index f4e97646ce23..07e14535375c 100644
--- a/arch/sparc/mm/hugetlbpage.c
+++ b/arch/sparc/mm/hugetlbpage.c
@@ -5,7 +5,6 @@
5 */ 5 */
6 6
7#include <linux/init.h> 7#include <linux/init.h>
8#include <linux/module.h>
9#include <linux/fs.h> 8#include <linux/fs.h>
10#include <linux/mm.h> 9#include <linux/mm.h>
11#include <linux/hugetlb.h> 10#include <linux/hugetlb.h>