[sched.h 6/8] move aio include to mm.h

From: William Lee Irwin III
Date: Fri Sep 24 2004 - 22:32:15 EST


On Fri, Sep 24, 2004 at 08:24:19PM -0700, William Lee Irwin III wrote:
> This patch moves mm_struct and the helpers to handle it into mm.h

This patch moves the aio inclusion from sched.h to mm.h, while leaving
workqueue.h directly included by sched.h; a large sweep is required to
clean up drivers including workqueue.h indirectly via sched.h


-- wli

Index: mm3-2.6.9-rc2/fs/ext3/file.c
===================================================================
--- mm3-2.6.9-rc2.orig/fs/ext3/file.c 2004-09-24 17:37:18.000000000 -0700
+++ mm3-2.6.9-rc2/fs/ext3/file.c 2004-09-24 19:22:09.556759880 -0700
@@ -23,6 +23,7 @@
#include <linux/jbd.h>
#include <linux/ext3_fs.h>
#include <linux/ext3_jbd.h>
+#include <linux/aio.h>
#include "xattr.h"
#include "acl.h"

Index: mm3-2.6.9-rc2/include/linux/mm.h
===================================================================
--- mm3-2.6.9-rc2.orig/include/linux/mm.h 2004-09-24 19:08:34.310696120 -0700
+++ mm3-2.6.9-rc2/include/linux/mm.h 2004-09-24 19:17:00.863688360 -0700
@@ -13,6 +13,7 @@
#include <linux/rbtree.h>
#include <linux/prio_tree.h>
#include <linux/fs.h>
+#include <linux/aio.h>

struct mempolicy;
struct anon_vma;
Index: mm3-2.6.9-rc2/include/linux/sched.h
===================================================================
--- mm3-2.6.9-rc2.orig/include/linux/sched.h 2004-09-24 19:07:27.493853824 -0700
+++ mm3-2.6.9-rc2/include/linux/sched.h 2004-09-24 19:16:49.428426784 -0700
@@ -14,6 +14,7 @@
#include <linux/thread_info.h>
#include <linux/cpumask.h>
#include <linux/nodemask.h>
+#include <linux/workqueue.h>

#include <asm/system.h>
#include <asm/semaphore.h>
@@ -176,8 +177,6 @@

extern int sysctl_max_map_count;

-#include <linux/aio.h>
-
struct sighand_struct {
atomic_t count;
struct k_sigaction action[_NSIG];
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/