diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-05-27 00:00:52 +0400 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-11-01 03:31:12 +0400 |
commit | d5decd3b9512e35c87492312a72443192eebdda9 (patch) | |
tree | 96aec1c137a09e3b8c4129862d117ce9775909fb /block | |
parent | a0e5cc581b3fc0e0a909e3cab48d9ec286c2a276 (diff) | |
download | linux-d5decd3b9512e35c87492312a72443192eebdda9.tar.xz |
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: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'block')
-rw-r--r-- | block/blk-integrity.c | 1 | ||||
-rw-r--r-- | block/ioctl.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/block/blk-integrity.c b/block/blk-integrity.c index 129b9e209a3b..da2a818c3a92 100644 --- a/block/blk-integrity.c +++ b/block/blk-integrity.c @@ -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" diff --git a/block/ioctl.c b/block/ioctl.c index 1124cd297263..555440337463 100644 --- a/block/ioctl.c +++ b/block/ioctl.c @@ -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> |