From patchwork Sun Nov 1 11:56:23 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gleb Natapov X-Patchwork-Id: 56845 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id nA1Bvold029112 for ; Sun, 1 Nov 2009 11:57:50 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752225AbZKAL4e (ORCPT ); Sun, 1 Nov 2009 06:56:34 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752183AbZKAL4d (ORCPT ); Sun, 1 Nov 2009 06:56:33 -0500 Received: from mx1.redhat.com ([209.132.183.28]:44251 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752020AbZKAL42 (ORCPT ); Sun, 1 Nov 2009 06:56:28 -0500 Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id nA1BuWZh005478; Sun, 1 Nov 2009 06:56:32 -0500 Received: from dhcp-1-237.tlv.redhat.com (dhcp-1-237.tlv.redhat.com [10.35.1.237]) by int-mx08.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id nA1BuVLv022613; Sun, 1 Nov 2009 06:56:32 -0500 Received: by dhcp-1-237.tlv.redhat.com (Postfix, from userid 13519) id E554118D417; Sun, 1 Nov 2009 13:56:30 +0200 (IST) From: Gleb Natapov To: kvm@vger.kernel.org Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [PATCH 04/11] Export __get_user_pages_fast. Date: Sun, 1 Nov 2009 13:56:23 +0200 Message-Id: <1257076590-29559-5-git-send-email-gleb@redhat.com> In-Reply-To: <1257076590-29559-1-git-send-email-gleb@redhat.com> References: <1257076590-29559-1-git-send-email-gleb@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.21 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org diff --git a/arch/x86/mm/gup.c b/arch/x86/mm/gup.c index 71da1bc..cea0dfe 100644 --- a/arch/x86/mm/gup.c +++ b/arch/x86/mm/gup.c @@ -8,6 +8,7 @@ #include #include #include +#include #include @@ -274,6 +275,7 @@ int __get_user_pages_fast(unsigned long start, int nr_pages, int write, return nr; } +EXPORT_SYMBOL_GPL(__get_user_pages_fast); /** * get_user_pages_fast() - pin user pages in memory