]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
aio: don't include aio.h in sched.h
authorKent Overstreet <koverstreet@google.com>
Wed, 20 Mar 2013 04:08:59 +0000 (15:08 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 20 Mar 2013 04:23:41 +0000 (15:23 +1100)
Faster kernel compiles by way of fewer unnecessary includes.

[akpm@linux-foundation.org: fix fallout]
Signed-off-by: Kent Overstreet <koverstreet@google.com>
Cc: Zach Brown <zab@redhat.com>
Cc: Felipe Balbi <balbi@ti.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Mark Fasheh <mfasheh@suse.com>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Asai Thambi S P <asamymuthupa@micron.com>
Cc: Selvan Mani <smani@micron.com>
Cc: Sam Bradshaw <sbradshaw@micron.com>
Cc: Jeff Moyer <jmoyer@redhat.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Benjamin LaHaise <bcrl@kvack.org>
Cc: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
57 files changed:
arch/s390/hypfs/inode.c
block/scsi_ioctl.c
drivers/char/mem.c
drivers/infiniband/hw/ipath/ipath_file_ops.c
drivers/infiniband/hw/qib/qib_file_ops.c
drivers/scsi/sg.c
drivers/staging/android/logger.c
fs/9p/vfs_addr.c
fs/afs/write.c
fs/block_dev.c
fs/btrfs/file.c
fs/btrfs/inode.c
fs/ceph/file.c
fs/compat.c
fs/direct-io.c
fs/ecryptfs/file.c
fs/ext2/inode.c
fs/ext3/inode.c
fs/ext4/file.c
fs/ext4/indirect.c
fs/ext4/inode.c
fs/ext4/page-io.c
fs/f2fs/data.c
fs/fat/inode.c
fs/fuse/cuse.c
fs/fuse/dev.c
fs/fuse/file.c
fs/gfs2/aops.c
fs/gfs2/file.c
fs/hfs/inode.c
fs/hfsplus/inode.c
fs/jfs/inode.c
fs/nilfs2/inode.c
fs/ntfs/file.c
fs/ntfs/inode.c
fs/ocfs2/aops.h
fs/ocfs2/inode.h
fs/pipe.c
fs/read_write.c
fs/reiserfs/inode.c
fs/ubifs/file.c
fs/udf/inode.c
fs/xfs/xfs_aops.c
fs/xfs/xfs_file.c
include/linux/cgroup.h
include/linux/pid_namespace.h
include/linux/sched.h
include/linux/writeback.h
kernel/fork.c
kernel/printk.c
kernel/ptrace.c
mm/page_io.c
mm/shmem.c
mm/swap.c
security/keys/internal.h
security/keys/keyctl.c
sound/core/pcm_native.c

index 5f7d7ba2874c8a6fa14b49bcefc7ef09ef59dc6b..7a539f4f5e30b776527c5426eabfbefead4a0f34 100644 (file)
@@ -21,6 +21,7 @@
 #include <linux/module.h>
 #include <linux/seq_file.h>
 #include <linux/mount.h>
+#include <linux/aio.h>
 #include <asm/ebcdic.h>
 #include "hypfs.h"
 
index 9a87daa6f4fbd10202ea9d47ae1a549c806a6fb4..a5ffcc988f0b00441a29f76e63e874892d121350 100644 (file)
@@ -27,6 +27,7 @@
 #include <linux/ratelimit.h>
 #include <linux/slab.h>
 #include <linux/times.h>
+#include <linux/uio.h>
 #include <asm/uaccess.h>
 
 #include <scsi/scsi.h>
index e49265f18f86bc9b2c22603db340381c3ff057bd..1ccbe9482faa5dbc3930478a17f493781849f161 100644 (file)
@@ -28,6 +28,7 @@
 #include <linux/pfn.h>
 #include <linux/export.h>
 #include <linux/io.h>
+#include <linux/aio.h>
 
 #include <asm/uaccess.h>
 
index aed8afee56da16a6a3609a247c9bea2c54060c44..6d7f453b4d05ef7da7f74aeafe22608b85dc00fc 100644 (file)
@@ -40,6 +40,7 @@
 #include <linux/slab.h>
 #include <linux/highmem.h>
 #include <linux/io.h>
+#include <linux/aio.h>
 #include <linux/jiffies.h>
 #include <linux/cpu.h>
 #include <asm/pgtable.h>
index 4f7aa301b3b1171b7d6557332278a27ccb6f6659..b56c9428f3c5f5fbf574b0b9570ec2caa02cbee3 100644 (file)
@@ -39,7 +39,7 @@
 #include <linux/vmalloc.h>
 #include <linux/highmem.h>
 #include <linux/io.h>
-#include <linux/uio.h>
+#include <linux/aio.h>
 #include <linux/jiffies.h>
 #include <asm/pgtable.h>
 #include <linux/delay.h>
index 9f0c46547459c4ddb1a71c41f769fe2761034983..df5e961484e108312f6f01765882dd4319d584f7 100644 (file)
@@ -35,6 +35,7 @@ static int sg_version_num = 30534;    /* 2 digits for each component */
 #include <linux/sched.h>
 #include <linux/string.h>
 #include <linux/mm.h>
+#include <linux/aio.h>
 #include <linux/errno.h>
 #include <linux/mtio.h>
 #include <linux/ioctl.h>
index b14a55742559986781331e2bdd10cd7711b01d5f..b040200a5a5502d7a110e9064d25b10600196065 100644 (file)
@@ -28,6 +28,7 @@
 #include <linux/slab.h>
 #include <linux/time.h>
 #include <linux/vmalloc.h>
+#include <linux/aio.h>
 #include "logger.h"
 
 #include <asm/ioctls.h>
index 0ad61c6a65a5b1964b373432f5e9bf9b031f6d38..055562c580b43e673615811f4bdc6e778180420b 100644 (file)
@@ -33,6 +33,7 @@
 #include <linux/pagemap.h>
 #include <linux/idr.h>
 #include <linux/sched.h>
+#include <linux/aio.h>
 #include <net/9p/9p.h>
 #include <net/9p/client.h>
 
index 7e03eadb40c0a71d1dfd3971f8136abae2bb7822..a890db4b9898fc1d888c5e7285da55db85e4da54 100644 (file)
@@ -14,6 +14,7 @@
 #include <linux/pagemap.h>
 #include <linux/writeback.h>
 #include <linux/pagevec.h>
+#include <linux/aio.h>
 #include "internal.h"
 
 static int afs_write_back_from_locked_page(struct afs_writeback *wb,
index 9ae76f70074f59af3db2dcfba3071137a3618e0c..4d48cf5814f842494fcdabd8a6ef46e5a2d25425 100644 (file)
@@ -27,6 +27,7 @@
 #include <linux/namei.h>
 #include <linux/log2.h>
 #include <linux/cleancache.h>
+#include <linux/aio.h>
 #include <asm/uaccess.h>
 #include "internal.h"
 
index 459ea01aecacad320dbb5ddc7a0713381c8fdbd7..6add1b16be80cb238ac039afb8b6619a7871de16 100644 (file)
@@ -24,6 +24,7 @@
 #include <linux/string.h>
 #include <linux/backing-dev.h>
 #include <linux/mpage.h>
+#include <linux/aio.h>
 #include <linux/falloc.h>
 #include <linux/swap.h>
 #include <linux/writeback.h>
index ca1b767d51f760672f8de72c48efbf3df8e58a75..ca26188ff6293883189c7d25505a10fd576ef944 100644 (file)
@@ -32,6 +32,7 @@
 #include <linux/writeback.h>
 #include <linux/statfs.h>
 #include <linux/compat.h>
+#include <linux/aio.h>
 #include <linux/bit_spinlock.h>
 #include <linux/xattr.h>
 #include <linux/posix_acl.h>
index bf338d9b67e30b04927814016f58fa9334e12ac9..eb09f41ee52d5b548db368c6feb46545537eeae2 100644 (file)
@@ -7,6 +7,7 @@
 #include <linux/mount.h>
 #include <linux/namei.h>
 #include <linux/writeback.h>
+#include <linux/aio.h>
 
 #include "super.h"
 #include "mds_client.h"
index 5f83ffa421154c862fb1fbc0a649f77b1a6b9558..4899d3b5cf4b79859fbb3b6faef765c9ee4ba446 100644 (file)
@@ -47,6 +47,7 @@
 #include <linux/fs_struct.h>
 #include <linux/slab.h>
 #include <linux/pagemap.h>
+#include <linux/aio.h>
 
 #include <asm/uaccess.h>
 #include <asm/mmu_context.h>
index 9644d0205dad5582d64433d4f4b86c172d0078e4..93b4e4883a13ff3c582ac4f64e48b4852ccf5120 100644 (file)
@@ -37,6 +37,7 @@
 #include <linux/uio.h>
 #include <linux/atomic.h>
 #include <linux/prefetch.h>
+#include <linux/aio.h>
 
 /*
  * How many user pages to map in one call to get_user_pages().  This determines
index 63b1f54b6a1ff01862f381ae678afa3d46e4c15e..201f0a0d6b0a2a2be8a2983d2fb63ef27dacc0d8 100644 (file)
@@ -31,6 +31,7 @@
 #include <linux/security.h>
 #include <linux/compat.h>
 #include <linux/fs_stack.h>
+#include <linux/aio.h>
 #include "ecryptfs_kernel.h"
 
 /**
index fe60cc1117d834a1fbdc086b9aad01367518903b..0a87bb10998dc00070bc6d05d6f536c21de44e3a 100644 (file)
@@ -31,6 +31,7 @@
 #include <linux/mpage.h>
 #include <linux/fiemap.h>
 #include <linux/namei.h>
+#include <linux/aio.h>
 #include "ext2.h"
 #include "acl.h"
 #include "xip.h"
index d512c4bc4ad7103b968d454266d1814b8d59de41..eac4f041f5fc606f6f990b58f922de268da80ce5 100644 (file)
@@ -27,6 +27,7 @@
 #include <linux/writeback.h>
 #include <linux/mpage.h>
 #include <linux/namei.h>
+#include <linux/aio.h>
 #include "ext3.h"
 #include "xattr.h"
 #include "acl.h"
index 64848b595b243018d87c8a213066e90c590d48bb..4959e29573b68d0ed2fec94c28015c52cb22afb9 100644 (file)
@@ -23,6 +23,7 @@
 #include <linux/jbd2.h>
 #include <linux/mount.h>
 #include <linux/path.h>
+#include <linux/aio.h>
 #include <linux/quotaops.h>
 #include <linux/pagevec.h>
 #include "ext4.h"
index b505a145a5937a426184d5c289b6825ee62d0e17..21de12366b47e04362c8035cc58bb32f4a88cfa4 100644 (file)
@@ -20,6 +20,7 @@
  *     (sct@redhat.com), 1993, 1998
  */
 
+#include <linux/aio.h>
 #include "ext4_jbd2.h"
 #include "truncate.h"
 #include "ext4_extents.h"      /* Needed for EXT_MAX_BLOCKS */
index cfbebe9c0250a48d8316db1b6a39a0d0ef7abaee..96eb9410ed03420f49b28574eba282204346a22a 100644 (file)
@@ -37,6 +37,7 @@
 #include <linux/printk.h>
 #include <linux/slab.h>
 #include <linux/ratelimit.h>
+#include <linux/aio.h>
 
 #include "ext4_jbd2.h"
 #include "xattr.h"
index 809b31003ecc0fedd35d71e8abed4047bbe18beb..d9903af92e519ee3942f9e3739718c2a2a27e1b7 100644 (file)
@@ -18,6 +18,7 @@
 #include <linux/pagevec.h>
 #include <linux/mpage.h>
 #include <linux/namei.h>
+#include <linux/aio.h>
 #include <linux/uio.h>
 #include <linux/bio.h>
 #include <linux/workqueue.h>
index 277966a8547ad8549efdab6be61a7a87c84c17cd..02ad450d226b1f37a7e1c2821c4dd7066534fe2b 100644 (file)
@@ -12,6 +12,7 @@
 #include <linux/f2fs_fs.h>
 #include <linux/buffer_head.h>
 #include <linux/mpage.h>
+#include <linux/aio.h>
 #include <linux/writeback.h>
 #include <linux/backing-dev.h>
 #include <linux/blkdev.h>
index 4ff901632b26a194790054d0f29a94f633c6f8c3..dfce656ddb333a6e7720c8ab0e32984ad82f11f3 100644 (file)
@@ -19,6 +19,7 @@
 #include <linux/mpage.h>
 #include <linux/buffer_head.h>
 #include <linux/mount.h>
+#include <linux/aio.h>
 #include <linux/vfs.h>
 #include <linux/parser.h>
 #include <linux/uio.h>
index 6f96a8def14766be9fa173e26f12583dc3f04697..06b5e086ab3ab366c5aa230b55520971c0a896a5 100644 (file)
@@ -38,6 +38,7 @@
 #include <linux/device.h>
 #include <linux/file.h>
 #include <linux/fs.h>
+#include <linux/aio.h>
 #include <linux/kdev_t.h>
 #include <linux/kthread.h>
 #include <linux/list.h>
index 11dfa0c3fb46a9fd1e89cc0b2de356c5fc62bec0..06c569e492ed0491db7c149b70acd965d24771a4 100644 (file)
@@ -19,6 +19,7 @@
 #include <linux/pipe_fs_i.h>
 #include <linux/swap.h>
 #include <linux/splice.h>
+#include <linux/aio.h>
 
 MODULE_ALIAS_MISCDEV(FUSE_MINOR);
 MODULE_ALIAS("devname:fuse");
index 385f28ab90d912fbb5c2673d870be9a14edff2b9..f2ae8fd6242c729d950b00ccf54e16e6292aa6e9 100644 (file)
@@ -15,6 +15,7 @@
 #include <linux/module.h>
 #include <linux/compat.h>
 #include <linux/swap.h>
+#include <linux/aio.h>
 
 static const struct file_operations fuse_direct_io_file_operations;
 
index 24f414f0ce61393e3caf3ce7c460ffbf40a8183b..371bd144d8021b1926277ecc5bca9244c9ba54a1 100644 (file)
@@ -20,6 +20,7 @@
 #include <linux/swap.h>
 #include <linux/gfs2_ondisk.h>
 #include <linux/backing-dev.h>
+#include <linux/aio.h>
 
 #include "gfs2.h"
 #include "incore.h"
index d79c2dadc536662370c3c084b100f1cecd303855..acd16764b133aa896bac5bea77a9bb481e07c74c 100644 (file)
@@ -25,6 +25,7 @@
 #include <asm/uaccess.h>
 #include <linux/dlm.h>
 #include <linux/dlm_plock.h>
+#include <linux/aio.h>
 
 #include "gfs2.h"
 #include "incore.h"
index 3031dfdd2358b21a4ba3d6fafdf68c41c7db86f7..a9d60d46ba99ff7ef2c8a07ce83e7d7c27801691 100644 (file)
@@ -14,6 +14,7 @@
 #include <linux/pagemap.h>
 #include <linux/mpage.h>
 #include <linux/sched.h>
+#include <linux/aio.h>
 
 #include "hfs_fs.h"
 #include "btree.h"
index 160ccc9cdb4be2da98633eee6c7e5d94116e5c43..cdd181d8ba09be3782c4703185d1a5038d266caa 100644 (file)
@@ -14,6 +14,7 @@
 #include <linux/pagemap.h>
 #include <linux/mpage.h>
 #include <linux/sched.h>
+#include <linux/aio.h>
 
 #include "hfsplus_fs.h"
 #include "hfsplus_raw.h"
index b7dc47ba675efe6bb9619230aece38f1d7984de0..1781f06aa1c14aa1e46252b57f8a1b116d636d16 100644 (file)
@@ -23,6 +23,7 @@
 #include <linux/pagemap.h>
 #include <linux/quotaops.h>
 #include <linux/writeback.h>
+#include <linux/aio.h>
 #include "jfs_incore.h"
 #include "jfs_inode.h"
 #include "jfs_filsys.h"
index 6b49f14eac8cdadf4bebc9f4ff9c1869b5107f12..1e92930d59c3c81ed1223447d30d8a801bf0de0a 100644 (file)
@@ -25,7 +25,7 @@
 #include <linux/gfp.h>
 #include <linux/mpage.h>
 #include <linux/writeback.h>
-#include <linux/uio.h>
+#include <linux/aio.h>
 #include "nilfs.h"
 #include "btnode.h"
 #include "segment.h"
index 67fd7f9f6a97e6080b0c419becd6071c1188409e..b870ae00517a93b25c01fa48fd3e8c727c46275f 100644 (file)
@@ -27,6 +27,7 @@
 #include <linux/swap.h>
 #include <linux/uio.h>
 #include <linux/writeback.h>
+#include <linux/aio.h>
 
 #include <asm/page.h>
 #include <asm/uaccess.h>
index d3e118cc6ffa8f0016c5eb93e246aded38a1cc14..2778b0255dc6c0c845f2b222ac45605f77737442 100644 (file)
@@ -28,6 +28,7 @@
 #include <linux/quotaops.h>
 #include <linux/slab.h>
 #include <linux/log2.h>
+#include <linux/aio.h>
 
 #include "aops.h"
 #include "attrib.h"
index ffb2da370a99d05dd4b919fc64a5483dbc2df7a3..f671e49beb348b5c33dfba3e3c4b5f322c73e43b 100644 (file)
@@ -22,6 +22,8 @@
 #ifndef OCFS2_AOPS_H
 #define OCFS2_AOPS_H
 
+#include <linux/aio.h>
+
 handle_t *ocfs2_start_walk_page_trans(struct inode *inode,
                                                         struct page *page,
                                                         unsigned from,
index 88924a3133fae7c15ca3f5a5259b64eecd97022e..c765bdf6d60e27f5ff45d9d4732a0618a6224007 100644 (file)
@@ -28,6 +28,8 @@
 
 #include "extent_map.h"
 
+struct iocb;
+
 /* OCFS2 Inode Private Data */
 struct ocfs2_inode_info
 {
index 2234f3f61f8d8fbc6a1f77dbaae6412130b8a5d4..34a643dd22dc8c66f5d36efcde52eff203d2d8a0 100644 (file)
--- a/fs/pipe.c
+++ b/fs/pipe.c
@@ -21,6 +21,7 @@
 #include <linux/audit.h>
 #include <linux/syscalls.h>
 #include <linux/fcntl.h>
+#include <linux/aio.h>
 
 #include <asm/uaccess.h>
 #include <asm/ioctls.h>
index 0a72bbdd89b0eb0a7b7b69163b765b80f3e7c778..b81aebe2a5ced44bda34aac77da2f7515fbd3301 100644 (file)
@@ -9,6 +9,7 @@
 #include <linux/fcntl.h>
 #include <linux/file.h>
 #include <linux/uio.h>
+#include <linux/aio.h>
 #include <linux/fsnotify.h>
 #include <linux/security.h>
 #include <linux/export.h>
index ea5061fd4f3e04b055421c1d8d6c5657d250e758..77d6d47abc838be3a18acc837f9f97816974e6e1 100644 (file)
@@ -18,6 +18,7 @@
 #include <linux/writeback.h>
 #include <linux/quotaops.h>
 #include <linux/swap.h>
+#include <linux/aio.h>
 
 int reiserfs_commit_write(struct file *f, struct page *page,
                          unsigned from, unsigned to);
index f12189d2db1db7aa1620accfb4cc9d1eb09cf8a8..14374530784c683f36a15e52b64d792578a8ec07 100644 (file)
@@ -50,6 +50,7 @@
  */
 
 #include "ubifs.h"
+#include <linux/aio.h>
 #include <linux/mount.h>
 #include <linux/namei.h>
 #include <linux/slab.h>
index 7a12e48ad8196d51273fcc2ca66e89d077eb66ee..b6d15d349810fe5ca21649208bd86d220caf338c 100644 (file)
@@ -38,6 +38,7 @@
 #include <linux/slab.h>
 #include <linux/crc-itu-t.h>
 #include <linux/mpage.h>
+#include <linux/aio.h>
 
 #include "udf_i.h"
 #include "udf_sb.h"
index 5f707e5371717a331131f72f5babff24670d9bef..c24ce0e9c67c9bf58f631485638250a7d4e4e92e 100644 (file)
@@ -31,6 +31,7 @@
 #include "xfs_vnodeops.h"
 #include "xfs_trace.h"
 #include "xfs_bmap.h"
+#include <linux/aio.h>
 #include <linux/gfp.h>
 #include <linux/mpage.h>
 #include <linux/pagevec.h>
index 9ff0a13131d67b468b0cc5a11fc0c9d1b3581716..a81aa74a72630eed7f5fa13f77de0fa94a6c0007 100644 (file)
@@ -36,6 +36,7 @@
 #include "xfs_ioctl.h"
 #include "xfs_trace.h"
 
+#include <linux/aio.h>
 #include <linux/dcache.h>
 #include <linux/falloc.h>
 #include <linux/pagevec.h>
index 8f079cc7fc185e7080cfddc400e590ee619b233b..1abeea539bbfadca88c60d08b719fb7c2a2917a4 100644 (file)
@@ -25,6 +25,7 @@ struct cgroup_subsys;
 struct inode;
 struct cgroup;
 struct css_id;
+struct eventfd_ctx;
 
 extern int cgroup_init_early(void);
 extern int cgroup_init(void);
index 8ac32836690e3a50ce25d89187ac7c42193e8835..d56406aaffe167bd071c2b93526b18fb6a3032fc 100644 (file)
@@ -4,6 +4,7 @@
 #include <linux/sched.h>
 #include <linux/bug.h>
 #include <linux/mm.h>
+#include <linux/workqueue.h>
 #include <linux/threads.h>
 #include <linux/nsproxy.h>
 #include <linux/kref.h>
index 1f271a4da44665981176d5c857a9a40ee4530352..7ae10dbfd2b05312cf2184f6c24e673bc848834c 100644 (file)
@@ -313,8 +313,6 @@ extern int mutex_spin_on_owner(struct mutex *lock, struct task_struct *owner);
 struct nsproxy;
 struct user_namespace;
 
-#include <linux/aio.h>
-
 #ifdef CONFIG_MMU
 extern void arch_pick_mmap_layout(struct mm_struct *mm);
 extern unsigned long
index 9a9367c0c0768bff86bfa9ddde5ff85574497292..579a5007c696fc5b9fd95cd326470b70aa096456 100644 (file)
@@ -5,6 +5,7 @@
 #define WRITEBACK_H
 
 #include <linux/sched.h>
+#include <linux/workqueue.h>
 #include <linux/fs.h>
 
 DECLARE_PER_CPU(int, dirty_throttle_leaks);
index e66be316ae0f05276001419654623e25ff5a3262..48c89a0539597083cb309e18d848392eeaaa6195 100644 (file)
@@ -70,6 +70,7 @@
 #include <linux/khugepaged.h>
 #include <linux/signalfd.h>
 #include <linux/uprobes.h>
+#include <linux/aio.h>
 
 #include <asm/pgtable.h>
 #include <asm/pgalloc.h>
index 922942a2baa64189cf5d0bc015d5aa040d1a71bc..26cbed12dedee1f4e79acc8c95cf0cb6241f8100 100644 (file)
@@ -32,6 +32,7 @@
 #include <linux/security.h>
 #include <linux/bootmem.h>
 #include <linux/memblock.h>
+#include <linux/aio.h>
 #include <linux/syscalls.h>
 #include <linux/kexec.h>
 #include <linux/kdb.h>
index 17ae54da0ec2efb010184c38daf1c43953a6745c..aed981a3f69c180dda76bfca76411656842eec01 100644 (file)
@@ -17,6 +17,7 @@
 #include <linux/ptrace.h>
 #include <linux/security.h>
 #include <linux/signal.h>
+#include <linux/uio.h>
 #include <linux/audit.h>
 #include <linux/pid_namespace.h>
 #include <linux/syscalls.h>
index 78eee32ee4860b17155413bb37c211bbd8b9b60a..c535d395a440a5b43f7b480314a696aca4dc3b3a 100644 (file)
@@ -20,6 +20,7 @@
 #include <linux/buffer_head.h>
 #include <linux/writeback.h>
 #include <linux/frontswap.h>
+#include <linux/aio.h>
 #include <asm/pgtable.h>
 
 static struct bio *get_swap_bio(gfp_t gfp_flags,
index 39b2a0b86fe83854d279397c13c84b32b20fe8f0..5e6a8422658b832921196ca4908e7cc6148eb84a 100644 (file)
@@ -31,6 +31,7 @@
 #include <linux/mm.h>
 #include <linux/export.h>
 #include <linux/swap.h>
+#include <linux/aio.h>
 
 static struct vfsmount *shm_mnt;
 
index 8a529a01e8fc79ebda8cfe30191fa9fb1d754b77..92a9be551846a49dd8e848e3bed6bdf3b80b9edb 100644 (file)
--- a/mm/swap.c
+++ b/mm/swap.c
@@ -30,6 +30,7 @@
 #include <linux/backing-dev.h>
 #include <linux/memcontrol.h>
 #include <linux/gfp.h>
+#include <linux/uio.h>
 
 #include "internal.h"
 
index 8bbefc3b55d42961f94c1c8727b4db8f9026f3f9..d4f1468b9b50f46cd7d739544902a77a3ff40384 100644 (file)
@@ -16,6 +16,8 @@
 #include <linux/key-type.h>
 #include <linux/task_work.h>
 
+struct iovec;
+
 #ifdef __KDEBUG
 #define kenter(FMT, ...) \
        printk(KERN_DEBUG "==> %s("FMT")\n", __func__, ##__VA_ARGS__)
index 4b5c948eb41426c76ef1810239cb0a98f9c4f918..33cfd27b4de29650ae6ad0e1eb45646714a00f27 100644 (file)
@@ -22,6 +22,7 @@
 #include <linux/err.h>
 #include <linux/vmalloc.h>
 #include <linux/security.h>
+#include <linux/uio.h>
 #include <asm/uaccess.h>
 #include "internal.h"
 
index 5bce9152b64e38f05089a652b362ab6c20933a84..479e0a5817974a201cb66c7da0ec3a46875ecfaa 100644 (file)
@@ -25,7 +25,7 @@
 #include <linux/slab.h>
 #include <linux/time.h>
 #include <linux/pm_qos.h>
-#include <linux/uio.h>
+#include <linux/aio.h>
 #include <linux/dma-mapping.h>
 #include <sound/core.h>
 #include <sound/control.h>