summaryrefslogtreecommitdiffstats
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)
downloadop-kernel-dev-cdd0b0ac120185ea1adb4dd42ce552617e1cc0d6.zip
op-kernel-dev-cdd0b0ac120185ea1adb4dd42ce552617e1cc0d6.tar.gz
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 a61c349..7131eac 100644
--- a/arch/sparc/mm/extable.c
+++ b/arch/sparc/mm/extable.c
@@ -2,7 +2,6 @@
* linux/arch/sparc/mm/extable.c
*/
-#include <linux/module.h>
#include <asm/uaccess.h>
void sort_extable(struct exception_table_entry *start,
diff --git a/arch/sparc/mm/fault_32.c b/arch/sparc/mm/fault_32.c
index aa1c1b1..8023fd7 100644
--- a/arch/sparc/mm/fault_32.c
+++ b/arch/sparc/mm/fault_32.c
@@ -20,7 +20,6 @@
#include <linux/smp.h>
#include <linux/perf_event.h>
#include <linux/interrupt.h>
-#include <linux/module.h>
#include <linux/kdebug.h>
#include <asm/system.h>
diff --git a/arch/sparc/mm/hugetlbpage.c b/arch/sparc/mm/hugetlbpage.c
index f4e9764..07e1453 100644
--- a/arch/sparc/mm/hugetlbpage.c
+++ b/arch/sparc/mm/hugetlbpage.c
@@ -5,7 +5,6 @@
*/
#include <linux/init.h>
-#include <linux/module.h>
#include <linux/fs.h>
#include <linux/mm.h>
#include <linux/hugetlb.h>
OpenPOWER on IntegriCloud