From patchwork Tue Jan 19 21:58:44 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: jim owens X-Patchwork-Id: 73951 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.2) with ESMTP id o0JLwqDx027862 for ; Tue, 19 Jan 2010 21:58:53 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754306Ab0ASV6s (ORCPT ); Tue, 19 Jan 2010 16:58:48 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754310Ab0ASV6s (ORCPT ); Tue, 19 Jan 2010 16:58:48 -0500 Received: from g5t0006.atlanta.hp.com ([15.192.0.43]:5249 "EHLO g5t0006.atlanta.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754298Ab0ASV6r (ORCPT ); Tue, 19 Jan 2010 16:58:47 -0500 Received: from g5t0029.atlanta.hp.com (g5t0029.atlanta.hp.com [16.228.8.141]) by g5t0006.atlanta.hp.com (Postfix) with ESMTP id AF5F1C075 for ; Tue, 19 Jan 2010 21:58:46 +0000 (UTC) Received: from ldl (ldl.fc.hp.com [15.11.146.30]) by g5t0029.atlanta.hp.com (Postfix) with ESMTP id A08F520221 for ; Tue, 19 Jan 2010 21:58:46 +0000 (UTC) Received: from localhost (ldl.fc.hp.com [127.0.0.1]) by ldl (Postfix) with ESMTP id A0762CF0017; Tue, 19 Jan 2010 14:58:46 -0700 (MST) Received: from ldl ([127.0.0.1]) by localhost (ldl.fc.hp.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ib3QmG-FMeNy; Tue, 19 Jan 2010 14:58:46 -0700 (MST) Received: from [192.168.0.99] (squirrel.fc.hp.com [15.11.146.57]) (Authenticated sender: owens@fc.hp.com) by ldl (Postfix) with ESMTPA id 33BF3CF0012; Tue, 19 Jan 2010 14:58:46 -0700 (MST) Message-ID: <4B562B14.3050208@hp.com> Date: Tue, 19 Jan 2010 16:58:44 -0500 From: jim owens User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: linux-btrfs Subject: [RFC INFO PATCH 02/03] export use_mm and unuse_mm for filesystem modules. Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org 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);