mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 13/14]: kexec: use_mm
@ 2004-08-20 18:22 Eric W. Biederman
  0 siblings, 0 replies; only message in thread
From: Eric W. Biederman @ 2004-08-20 18:22 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel


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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-08-20 18:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-20 18:22 [PATCH 13/14]: kexec: use_mm Eric W. Biederman

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®