export use_mm and unuse_mm for filesystem modules.
Subsystems (2)
PATCH 1/1 export use_mm and unuse_mm for filesystem modules.
required for btrfs directio worker threads.
Signed-off-by jim owens <[email protected]>
---mm/mmu_context.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
mm/mmu_context.c +1 -0
@@ -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,4 @@ 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
Al Viro
maintainerQuoted 2 lines · jim owens
required for btrfs directio worker threads.
Careful. It's very easy to fsck up on biarch architectures with that stuff.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>