Commit d5decd3b authored by Paul Gortmaker's avatar Paul Gortmaker

block: add export.h to files using EXPORT_SYMBOL/THIS_MODULE macros

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: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
parent a0e5cc58
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
#include <linux/mempool.h> #include <linux/mempool.h>
#include <linux/bio.h> #include <linux/bio.h>
#include <linux/scatterlist.h> #include <linux/scatterlist.h>
#include <linux/export.h>
#include <linux/slab.h> #include <linux/slab.h>
#include "blk.h" #include "blk.h"
......
#include <linux/capability.h> #include <linux/capability.h>
#include <linux/blkdev.h> #include <linux/blkdev.h>
#include <linux/export.h>
#include <linux/gfp.h> #include <linux/gfp.h>
#include <linux/blkpg.h> #include <linux/blkpg.h>
#include <linux/hdreg.h> #include <linux/hdreg.h>
......
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
#include <linux/genhd.h> #include <linux/genhd.h>
#include <linux/netdevice.h> #include <linux/netdevice.h>
#include <linux/mutex.h> #include <linux/mutex.h>
#include <linux/export.h>
#include "aoe.h" #include "aoe.h"
static DEFINE_MUTEX(aoeblk_mutex); static DEFINE_MUTEX(aoeblk_mutex);
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/mutex.h> #include <linux/mutex.h>
#include <linux/skbuff.h> #include <linux/skbuff.h>
#include <linux/export.h>
#include "aoe.h" #include "aoe.h"
enum { enum {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment