mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: ebiederm@xmission.com (Eric W. Biederman)
To: Andrew Morton <akpm@osdl.org>
Cc: <linux-kernel@vger.kernel.org>
Subject: [PATCH 13/14]: kexec: use_mm
Date: 20 Aug 2004 12:22:19 -0600	[thread overview]
Message-ID: <m1oel54qlg.fsf@ebiederm.dsl.xmission.com> (raw)


The ppc port sets of init_mm ahead of time to hold an identity
mapped page.  This makes use_mm non-static so they don't
have to reinvent the wheel.

diff -uNr linux-2.6.8.1-mm2-kexec.i386/fs/aio.c linux-2.6.8.1-mm2-use_mm/fs/aio.c
--- linux-2.6.8.1-mm2-kexec.i386/fs/aio.c	Fri Aug 20 09:56:39 2004
+++ linux-2.6.8.1-mm2-use_mm/fs/aio.c	Fri Aug 20 11:22:01 2004
@@ -565,7 +565,7 @@
  *	(Note: this routine is intended to be called only
  *	from a kernel thread context)
  */
-static void use_mm(struct mm_struct *mm)
+void use_mm(struct mm_struct *mm)
 {
 	struct mm_struct *active_mm;
 	struct task_struct *tsk = current;

                 reply	other threads:[~2004-08-20 18:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=m1oel54qlg.fsf@ebiederm.dsl.xmission.com \
    --to=ebiederm@xmission.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®