* [PATCH] export use_mm and unuse_mm for filesystem modules.
@ 2009-12-09 22:40 jim owens
2009-12-09 22:45 ` Al Viro
0 siblings, 1 reply; 2+ messages in thread
From: jim owens @ 2009-12-09 22:40 UTC (permalink / raw)
To: linux-mm; +Cc: Andrew Morton, LKML, mst, linux-fsdevel
required for btrfs directio worker threads.
Signed-off-by: jim owens <jowens@hp.com>
---
mm/mmu_context.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/mm/mmu_context.c b/mm/mmu_context.c
index ded9081..daabf4d 100644
--- a/mm/mmu_context.c
+++ b/mm/mmu_context.c
@@ -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);
--
1.5.6.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] export use_mm and unuse_mm for filesystem modules.
2009-12-09 22:40 [PATCH] export use_mm and unuse_mm for filesystem modules jim owens
@ 2009-12-09 22:45 ` Al Viro
0 siblings, 0 replies; 2+ messages in thread
From: Al Viro @ 2009-12-09 22:45 UTC (permalink / raw)
To: jim owens; +Cc: linux-mm, Andrew Morton, LKML, mst, linux-fsdevel
On Wed, Dec 09, 2009 at 05:40:59PM -0500, jim owens wrote:
>
> 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 majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-12-09 22:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-09 22:40 [PATCH] export use_mm and unuse_mm for filesystem modules jim owens
2009-12-09 22:45 ` Al Viro
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).