summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-05-26 16:00:52 -0400
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-10-31 09:20:12 -0400
commitb9e15bafdf1aa20791cdefdcbf1ccf7d7aa03aaa (patch)
tree459af0df6234a50b43b87078fd252941e231cbc3 /mm
parente25934a51772f47edd94d7b7d08b0e167769639c (diff)
downloadop-kernel-dev-b9e15bafdf1aa20791cdefdcbf1ccf7d7aa03aaa.zip
op-kernel-dev-b9e15bafdf1aa20791cdefdcbf1ccf7d7aa03aaa.tar.gz
mm: Add export.h for EXPORT_SYMBOL to active symbol exporters
These files were getting <linux/module.h> via an implicit include path, but we want to crush those out of existence since they cost time during compiles of processing thousands of lines of headers for no reason. Give them the lightweight header that just contains the EXPORT_SYMBOL infrastructure. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'mm')
-rw-r--r--mm/memcontrol.c1
-rw-r--r--mm/memory-failure.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/mm/memcontrol.c b/mm/memcontrol.c
index 3508777..cf9f614 100644
--- a/mm/memcontrol.c
+++ b/mm/memcontrol.c
@@ -33,6 +33,7 @@
#include <linux/bit_spinlock.h>
#include <linux/rcupdate.h>
#include <linux/limits.h>
+#include <linux/export.h>
#include <linux/mutex.h>
#include <linux/rbtree.h>
#include <linux/slab.h>
diff --git a/mm/memory-failure.c b/mm/memory-failure.c
index 2b43ba0..eb8a09a 100644
--- a/mm/memory-failure.c
+++ b/mm/memory-failure.c
@@ -42,6 +42,7 @@
#include <linux/sched.h>
#include <linux/ksm.h>
#include <linux/rmap.h>
+#include <linux/export.h>
#include <linux/pagemap.h>
#include <linux/swap.h>
#include <linux/backing-dev.h>
OpenPOWER on IntegriCloud