Skip to contentSkip to conversation

: kexec: use_mm

PATCH In review Eric W. Biederman 1 participant 1 message Aug 20, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 13/14 : kexec: use_mm

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.

fs/aio.c +1 -1
diff -uNr linux-2.6.8.1-mm2-kexec.i386/fs/aio.c linux-2.6.8.1-mm2-use_mm/fs/aio.c
@@ -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;