From d5decd3b9512e35c87492312a72443192eebdda9 Mon Sep 17 00:00:00 2001 From: Paul Gortmaker Date: Thu, 26 May 2011 16:00:52 -0400 Subject: block: add export.h to files using EXPORT_SYMBOL/THIS_MODULE macros These files were getting 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 --- block/blk-integrity.c | 1 + block/ioctl.c | 1 + 2 files changed, 2 insertions(+) (limited to 'block') diff --git a/block/blk-integrity.c b/block/blk-integrity.c index 129b9e209a3..da2a818c3a9 100644 --- a/block/blk-integrity.c +++ b/block/blk-integrity.c @@ -24,6 +24,7 @@ #include #include #include +#include #include #include "blk.h" 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 @@ #include #include +#include #include #include #include -- cgit v1.2.3 From 6adb1236b5c1220987209aa68192e0cbad73e9fc Mon Sep 17 00:00:00 2001 From: Paul Gortmaker Date: Wed, 28 Sep 2011 18:26:05 -0400 Subject: block: Change module.h -> export.h in bsg-lib.c This file isn't using full modular functionality, and hence can be "downgraded" to just using the export.h header. Reported-by: Stephen Rothwell Signed-off-by: Paul Gortmaker --- block/bsg-lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'block') diff --git a/block/bsg-lib.c b/block/bsg-lib.c index 6690e6e4103..7ad49c88f6b 100644 --- a/block/bsg-lib.c +++ b/block/bsg-lib.c @@ -25,7 +25,7 @@ #include #include #include -#include +#include #include /** -- cgit v1.2.3