]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mm: Add export.h for EXPORT_SYMBOL to active symbol exporters
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 26 May 2011 20:00:52 +0000 (16:00 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Wed, 27 Jul 2011 23:09:01 +0000 (19:09 -0400)
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>
mm/memcontrol.c
mm/memory-failure.c

index 5f84d2351ddbe942706ed11a53c0574b71724627..f2b8a1c779ee8d15e4667e476d3c02192bd7602d 100644 (file)
@@ -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/shmem_fs.h>
index 740c4f52059cef1bff55fb4293ec41218967fc02..bee35ae9e1d3a54d9245d5f588ac26cbdd405951 100644 (file)
@@ -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>