[sched.h 8/8] move exec_domain declarations to personality.h

From: William Lee Irwin III
Date: Fri Sep 24 2004 - 22:36:25 EST


On Fri, Sep 24, 2004 at 08:27:46PM -0700, William Lee Irwin III wrote:
> This patch removes the inclusion of rbtree.h in sched.h

This patch moves usage of struct exec_domain in sched.h to personality.h


Index: mm3-2.6.9-rc2/include/linux/personality.h
===================================================================
--- mm3-2.6.9-rc2.orig/include/linux/personality.h 2004-09-12 22:32:48.000000000 -0700
+++ mm3-2.6.9-rc2/include/linux/personality.h 2004-09-24 19:34:23.760144000 -0700
@@ -91,6 +91,11 @@
};

/*
+ * The default (Linux) execution domain.
+ */
+extern struct exec_domain default_exec_domain;
+
+/*
* Return the base personality without flags.
*/
#define personality(pers) (pers & PER_MASK)
Index: mm3-2.6.9-rc2/include/linux/sched.h
===================================================================
--- mm3-2.6.9-rc2.orig/include/linux/sched.h 2004-09-24 19:23:12.432201360 -0700
+++ mm3-2.6.9-rc2/include/linux/sched.h 2004-09-24 19:33:49.500352280 -0700
@@ -31,8 +31,6 @@
#include <linux/pid.h>
#include <linux/percpu.h>

-struct exec_domain;
-
/*
* cloning flags:
*/
@@ -802,11 +800,6 @@

void yield(void);

-/*
- * The default (Linux) execution domain.
- */
-extern struct exec_domain default_exec_domain;
-
union thread_union {
struct thread_info thread_info;
unsigned long stack[THREAD_SIZE/sizeof(long)];
-
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/