block: add export.h to files using EXPORT_SYMBOL/THIS_MODULE macros
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 26 May 2011 20:00:52 +0000 (16:00 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 31 Oct 2011 23:31:12 +0000 (19:31 -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>
block/blk-integrity.c
block/ioctl.c
drivers/block/aoe/aoeblk.c
drivers/block/aoe/aoechr.c

index 129b9e209a3b46dcf06ab36c0629e632e9b75035..da2a818c3a922037026988fffd8ab7c9ad3f9008 100644 (file)
@@ -24,6 +24,7 @@
 #include <linux/mempool.h>
 #include <linux/bio.h>
 #include <linux/scatterlist.h>
+#include <linux/export.h>
 #include <linux/slab.h>
 
 #include "blk.h"
index 1124cd297263571d63371ca8ed33f8c361b74e06..55544033746392b081d9b41e123cb008c5b249a9 100644 (file)
@@ -1,5 +1,6 @@
 #include <linux/capability.h>
 #include <linux/blkdev.h>
+#include <linux/export.h>
 #include <linux/gfp.h>
 #include <linux/blkpg.h>
 #include <linux/hdreg.h>
index 528f6318ded155f03d464f611f20240dd1a90c95..c01795d00aa5f7260900594ed6b26207336f9887 100644 (file)
@@ -15,6 +15,7 @@
 #include <linux/genhd.h>
 #include <linux/netdevice.h>
 #include <linux/mutex.h>
+#include <linux/export.h>
 #include "aoe.h"
 
 static DEFINE_MUTEX(aoeblk_mutex);
index 146296ca4965a8e44123928d2406820b949a1488..5f8e39c43ae53f8a5264dd600ad64cd759485467 100644 (file)
@@ -11,6 +11,7 @@
 #include <linux/slab.h>
 #include <linux/mutex.h>
 #include <linux/skbuff.h>
+#include <linux/export.h>
 #include "aoe.h"
 
 enum {
This page took 0.039938 seconds and 5 git commands to generate.