All of lore.kernel.org
 help / color / mirror / Atom feed
From: William Lee Irwin III <wli@holomorphy.com>
To: Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org
Subject: [sched.h 8/8] move exec_domain declarations to personality.h
Date: Fri, 24 Sep 2004 20:29:36 -0700	[thread overview]
Message-ID: <20040925032936.GT9106@holomorphy.com> (raw)
In-Reply-To: <20040925032746.GS9106@holomorphy.com>

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)];

  reply	other threads:[~2004-09-25  3:32 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-25  2:45 [sched.h 0/8] sched.h header cleanups vs. 2.6.9-rc2-mm3 William Lee Irwin III
2004-09-25  2:49 ` [sched.h 1/8] nuke itimer_ticks and itimer_next William Lee Irwin III
2004-09-25  2:53   ` [sched.h 2/8] nuke CT_TO_SECS() and CT_TO_USECS() William Lee Irwin III
2004-09-25  3:08     ` [sched.h 3/8] privatize CALC_LOAD() William Lee Irwin III
2004-09-25  3:19       ` [sched.h 4/8] move struct k_itimer to posix-timers.h William Lee Irwin III
2004-09-25  3:24         ` [sched.h 5/8] move struct mm_struct to mm.h William Lee Irwin III
2004-09-25  3:26           ` [sched.h 6/8] move aio include " William Lee Irwin III
2004-09-25  3:27             ` [sched.h 7/8] remove rbtree.h inclusion from sched.h William Lee Irwin III
2004-09-25  3:29               ` William Lee Irwin III [this message]
2004-09-26  1:56             ` [sched.h 6/8] move aio include to mm.h Arnd Bergmann
2004-09-26  2:06               ` William Lee Irwin III
2004-09-26  2:15                 ` Lee Revell
2004-09-26  2:17                   ` William Lee Irwin III
2004-09-26  3:03                 ` Arnd Bergmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040925032936.GT9106@holomorphy.com \
    --to=wli@holomorphy.com \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.