From patchwork Wed Jan 20 17:08:58 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: jim owens X-Patchwork-Id: 74093 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 o0KH92pR003827 for ; Wed, 20 Jan 2010 17:09:02 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753274Ab0ATRJB (ORCPT ); Wed, 20 Jan 2010 12:09:01 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752344Ab0ATRJA (ORCPT ); Wed, 20 Jan 2010 12:09:00 -0500 Received: from g5t0006.atlanta.hp.com ([15.192.0.43]:8059 "EHLO g5t0006.atlanta.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752062Ab0ATRJA (ORCPT ); Wed, 20 Jan 2010 12:09:00 -0500 Received: from g5t0029.atlanta.hp.com (g5t0029.atlanta.hp.com [16.228.8.141]) by g5t0006.atlanta.hp.com (Postfix) with ESMTP id AE747C2BA for ; Wed, 20 Jan 2010 17:08:59 +0000 (UTC) Received: from ldl (ldl.fc.hp.com [15.11.146.30]) by g5t0029.atlanta.hp.com (Postfix) with ESMTP id A170020243 for ; Wed, 20 Jan 2010 17:08:59 +0000 (UTC) Received: from localhost (ldl.fc.hp.com [127.0.0.1]) by ldl (Postfix) with ESMTP id 70175CF001D; Wed, 20 Jan 2010 10:08:59 -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 TEiON8bpaXTD; Wed, 20 Jan 2010 10:08:59 -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 0208DCF000C; Wed, 20 Jan 2010 10:08:58 -0700 (MST) Message-ID: <4B5738AA.8010005@hp.com> Date: Wed, 20 Jan 2010 12:08:58 -0500 From: jim owens User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: linux-btrfs Subject: [FIXED PATCH 02] mm: 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..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); +