[PATCH 13/14]: kexec: use_mm

From: Eric W. Biederman
Date: Fri Aug 20 2004 - 13:43:22 EST



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;
-
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/