Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758584AbZLIWm2 (ORCPT ); Wed, 9 Dec 2009 17:42:28 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758486AbZLIWmR (ORCPT ); Wed, 9 Dec 2009 17:42:17 -0500 Received: from g1t0027.austin.hp.com ([15.216.28.34]:44324 "EHLO g1t0027.austin.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758286AbZLIWmN (ORCPT ); Wed, 9 Dec 2009 17:42:13 -0500 Message-ID: <4B20277B.1030903@hp.com> Date: Wed, 09 Dec 2009 17:40:59 -0500 From: jim owens User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: linux-mm@kvack.org CC: Andrew Morton , LKML , mst@redhat.com, linux-fsdevel Subject: [PATCH] export use_mm and unuse_mm for filesystem modules. Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1005 Lines: 40 required for btrfs directio worker threads. Signed-off-by: jim owens --- 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 #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,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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/