From patchwork Fri Apr 24 11:58:41 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joerg Roedel X-Patchwork-Id: 19792 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 n3OBx6ZX024987 for ; Fri, 24 Apr 2009 11:59:07 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754580AbZDXL7D (ORCPT ); Fri, 24 Apr 2009 07:59:03 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754184AbZDXL7B (ORCPT ); Fri, 24 Apr 2009 07:59:01 -0400 Received: from va3ehsobe002.messaging.microsoft.com ([216.32.180.12]:17334 "EHLO VA3EHSOBE002.bigfish.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753703AbZDXL7A (ORCPT ); Fri, 24 Apr 2009 07:59:00 -0400 Received: from mail56-va3-R.bigfish.com (10.7.14.238) by VA3EHSOBE002.bigfish.com (10.7.40.22) with Microsoft SMTP Server id 8.1.340.0; Fri, 24 Apr 2009 11:58:59 +0000 Received: from mail56-va3 (localhost.localdomain [127.0.0.1]) by mail56-va3-R.bigfish.com (Postfix) with ESMTP id 62B5418D0139; Fri, 24 Apr 2009 11:58:59 +0000 (UTC) X-BigFish: VPS5(zba6jzzz1202hzzz32i43j65h) X-Spam-TCS-SCL: 4:0 Received: by mail56-va3 (MessageSwitch) id 124057433849804_5739; Fri, 24 Apr 2009 11:58:58 +0000 (UCT) Received: from ausb3extmailp01.amd.com (unknown [163.181.251.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail56-va3.bigfish.com (Postfix) with ESMTP id CF1E619B0056; Fri, 24 Apr 2009 11:58:57 +0000 (UTC) Received: from ausb3twp02.amd.com ([163.181.250.38]) by ausb3extmailp01.amd.com (Switch-3.2.7/Switch-3.2.7) with ESMTP id n3OBwndY007004; Fri, 24 Apr 2009 06:58:52 -0500 X-WSS-ID: 0KILT9Z-02-NGR-01 Received: from sausexbh2.amd.com (SAUSEXBH2.amd.com [163.181.22.102]) by ausb3twp02.amd.com (Tumbleweed MailGate 3.5.1) with ESMTP id 2DD2016A03F7; Fri, 24 Apr 2009 06:58:46 -0500 (CDT) Received: from sausexmb2.amd.com ([163.181.3.157]) by sausexbh2.amd.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 24 Apr 2009 06:58:52 -0500 Received: from SDRSEXMB1.amd.com ([172.20.3.116]) by sausexmb2.amd.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 24 Apr 2009 06:58:52 -0500 Received: from seurexmb1.amd.com ([165.204.82.130]) by SDRSEXMB1.amd.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 24 Apr 2009 13:58:48 +0200 Received: from lemmy.amd.com ([165.204.15.93]) by seurexmb1.amd.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 24 Apr 2009 13:58:47 +0200 Received: by lemmy.amd.com (Postfix, from userid 41430) id AE974CA36E; Fri, 24 Apr 2009 13:58:47 +0200 (CEST) From: Joerg Roedel To: Avi Kivity , Marcelo Tosatti CC: , , Joerg Roedel Subject: [PATCH 1/7] hugetlbfs: export vma_kernel_pagsize to modules Date: Fri, 24 Apr 2009 13:58:41 +0200 Message-ID: <1240574327-21575-2-git-send-email-joerg.roedel@amd.com> X-Mailer: git-send-email 1.6.2.3 In-Reply-To: <1240574327-21575-1-git-send-email-joerg.roedel@amd.com> References: <1240574327-21575-1-git-send-email-joerg.roedel@amd.com> X-OriginalArrivalTime: 24 Apr 2009 11:58:48.0096 (UTC) FILETIME=[06AE3200:01C9C4D4] MIME-Version: 1.0 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org This function is required by KVM. Signed-off-by: Joerg Roedel --- mm/hugetlb.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/mm/hugetlb.c b/mm/hugetlb.c index 28c655b..7dcf5b8 100644 --- a/mm/hugetlb.c +++ b/mm/hugetlb.c @@ -234,6 +234,7 @@ unsigned long vma_kernel_pagesize(struct vm_area_struct *vma) return 1UL << (hstate->order + PAGE_SHIFT); } +EXPORT_SYMBOL_GPL(vma_kernel_pagesize); /* * Return the page size being used by the MMU to back a VMA. In the majority