From mboxrd@z Thu Jan 1 00:00:00 1970 From: jim owens Subject: [FIXED PATCH 02] mm: export use_mm and unuse_mm for filesystem modules. Date: Wed, 20 Jan 2010 12:08:58 -0500 Message-ID: <4B5738AA.8010005@hp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 To: linux-btrfs Return-path: List-ID: required for btrfs directio worker threads. Signed-off-by: jim owens --- mm/mmu_context.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/mm/mmu_context.c b/mm/mmu_context.c index ded9081..ecfb087 100644 --- a/mm/mmu_context.c +++ b/mm/mmu_context.c @@ -3,6 +3,7 @@ * See ../COPYING for licensing terms. */ +#include #include #include #include @@ -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); + -- 1.5.6.3