lkml.org 
[lkml]   [2004]   [Sep]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[sched.h 8/8] move exec_domain declarations to personality.h
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 14:06    [W:0.064 / U:2.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site