]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
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>
Thu, 25 Aug 2011 17:55:09 +0000 (13:55 -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/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 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 {