lkml.org 
[lkml]   [2004]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH 13/14]: kexec: use_mm
From
Date

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@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:05    [W:0.022 / U:5.792 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site