aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Gortmaker2011-05-26 15:00:52 -0500
committerPaul Gortmaker2011-10-31 18:31:12 -0500
commitd5decd3b9512e35c87492312a72443192eebdda9 (patch)
tree96aec1c137a09e3b8c4129862d117ce9775909fb /block/ioctl.c
parenta0e5cc581b3fc0e0a909e3cab48d9ec286c2a276 (diff)
downloadkernel-common-d5decd3b9512e35c87492312a72443192eebdda9.tar.gz
kernel-common-d5decd3b9512e35c87492312a72443192eebdda9.tar.xz
kernel-common-d5decd3b9512e35c87492312a72443192eebdda9.zip
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/ioctl.c')
-rw-r--r--block/ioctl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/block/ioctl.c b/block/ioctl.c
index 1124cd29726..55544033746 100644
--- a/block/ioctl.c
+++ b/block/ioctl.c
@@ -1,5 +1,6 @@
1#include <linux/capability.h> 1#include <linux/capability.h>
2#include <linux/blkdev.h> 2#include <linux/blkdev.h>
3#include <linux/export.h>
3#include <linux/gfp.h> 4#include <linux/gfp.h>
4#include <linux/blkpg.h> 5#include <linux/blkpg.h>
5#include <linux/hdreg.h> 6#include <linux/hdreg.h>