Commit afeacc8c authored by Paul Gortmaker's avatar Paul Gortmaker

fs: 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 79bb1ee4
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
#include <linux/blkdev.h> #include <linux/blkdev.h>
#include <linux/mempool.h> #include <linux/mempool.h>
#include <linux/export.h>
#include <linux/bio.h> #include <linux/bio.h>
#include <linux/workqueue.h> #include <linux/workqueue.h>
#include <linux/slab.h> #include <linux/slab.h>
......
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
#include <linux/buffer_head.h> #include <linux/buffer_head.h>
#include <linux/blkdev.h> #include <linux/blkdev.h>
#include <linux/kthread.h> #include <linux/kthread.h>
#include <linux/export.h>
#include <linux/namei.h> #include <linux/namei.h>
#include <linux/mount.h> #include <linux/mount.h>
#include <linux/gfs2_ondisk.h> #include <linux/gfs2_ondisk.h>
......
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
*/ */
#include <linux/gfp.h> #include <linux/gfp.h>
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/export.h>
#include <linux/ioprio.h> #include <linux/ioprio.h>
#include <linux/blkdev.h> #include <linux/blkdev.h>
#include <linux/capability.h> #include <linux/capability.h>
......
...@@ -67,6 +67,7 @@ ...@@ -67,6 +67,7 @@
#include <linux/buffer_head.h> /* for sync_blockdev() */ #include <linux/buffer_head.h> /* for sync_blockdev() */
#include <linux/bio.h> #include <linux/bio.h>
#include <linux/freezer.h> #include <linux/freezer.h>
#include <linux/export.h>
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/mutex.h> #include <linux/mutex.h>
#include <linux/seq_file.h> #include <linux/seq_file.h>
......
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
#include <linux/nfs_page.h> #include <linux/nfs_page.h>
#include <linux/nfs_fs.h> #include <linux/nfs_fs.h>
#include <linux/nfs_mount.h> #include <linux/nfs_mount.h>
#include <linux/export.h>
#include "internal.h" #include "internal.h"
#include "pnfs.h" #include "pnfs.h"
......
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
* such damages. * such damages.
*/ */
#include <linux/export.h>
#include "pnfs.h" #include "pnfs.h"
#define NFSDBG_FACILITY NFSDBG_PNFS #define NFSDBG_FACILITY NFSDBG_PNFS
......
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
#include <linux/nfs_mount.h> #include <linux/nfs_mount.h>
#include <linux/nfs_page.h> #include <linux/nfs_page.h>
#include <linux/backing-dev.h> #include <linux/backing-dev.h>
#include <linux/export.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
......
...@@ -36,6 +36,7 @@ ...@@ -36,6 +36,7 @@
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/nfs_fs.h> #include <linux/nfs_fs.h>
#include <linux/export.h>
#include "acl.h" #include "acl.h"
......
...@@ -59,6 +59,7 @@ ...@@ -59,6 +59,7 @@
#include <linux/idr.h> #include <linux/idr.h>
#include <linux/kref.h> #include <linux/kref.h>
#include <linux/net.h> #include <linux/net.h>
#include <linux/export.h>
#include <net/tcp.h> #include <net/tcp.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
......
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
#include <linux/sysctl.h> #include <linux/sysctl.h>
#include <linux/spinlock.h> #include <linux/spinlock.h>
#include <linux/debugfs.h> #include <linux/debugfs.h>
#include <linux/export.h>
#include "cluster/heartbeat.h" #include "cluster/heartbeat.h"
#include "cluster/nodemanager.h" #include "cluster/nodemanager.h"
......
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
#include <linux/user.h> #include <linux/user.h>
#include <linux/elf.h> #include <linux/elf.h>
#include <linux/elfcore.h> #include <linux/elfcore.h>
#include <linux/export.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/highmem.h> #include <linux/highmem.h>
#include <linux/bootmem.h> #include <linux/bootmem.h>
......
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