Skip to contentSkip to conversation

mm: export use_mm and unuse_mm for filesystem modules.

PATCH New jim owens 1 participant 1 message Jan 20, 2010

Subsystems (2)
lore
Share & tools
lore

jim owens

author
#0 lore raw

PATCH 1/1 mm: export use_mm and unuse_mm for filesystem modules.

required for btrfs directio worker threads.

---
 mm/mmu_context.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
mm/mmu_context.c +4 -0
index ded9081..ecfb087 100644
@@ -3,6 +3,7 @@
  * See ../COPYING for licensing terms.
  */
 
+#include <linux/module.h>
 #include <linux/mm.h>
 #include <linux/mmu_context.h>
 #include <linux/sched.h>
@@ -37,6 +38,7 @@ void use_mm(struct mm_struct *mm)
 	if (active_mm != mm)
 		mmdrop(active_mm);
 }
+EXPORT_SYMBOL_GPL(use_mm);
 
 /*
  * unuse_mm
@@ -56,3 +58,5 @@ void unuse_mm(struct mm_struct *mm)
 	enter_lazy_tlb(mm, tsk);
 	task_unlock(tsk);
 }
+EXPORT_SYMBOL_GPL(unuse_mm);
+
Signature · 1 line
1.5.6.3