From patchwork Wed May 16 09:17:05 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: KVM: PPC: Book3S HV: Export kvm_hpt_order Date: Tue, 15 May 2012 23:17:05 -0000 From: Paul Mackerras X-Patchwork-Id: 159552 Message-Id: <20120516091705.GB30694@bloggs.ozlabs.ibm.com> To: Alexander Graf Cc: kvm-ppc@vger.kernel.org, kvm@vger.kernel.org Code in book3s_64_mmu_hv.c, which is in the modular part of HV KVM, needs to access kvm_hpt_order, which is defined in the built-in part. Therefore we need to export it. Signed-off-by: Paul Mackerras --- Alex, it's up to you whether you apply this on your kvm-ppc-next branch or fold it into the "Make the guest hash table size configurable" commit - either is fine with me. arch/powerpc/kvm/book3s_hv_builtin.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/kvm/book3s_hv_builtin.c b/arch/powerpc/kvm/book3s_hv_builtin.c index 6d5ec64..ec0a9e5 100644 --- a/arch/powerpc/kvm/book3s_hv_builtin.c +++ b/arch/powerpc/kvm/book3s_hv_builtin.c @@ -26,6 +26,7 @@ static struct kvmppc_linear_info *kvm_alloc_linear(int type); static void kvm_release_linear(struct kvmppc_linear_info *ri); int kvm_hpt_order = KVM_DEFAULT_HPT_ORDER; +EXPORT_SYMBOL_GPL(kvm_hpt_order); /*************** RMA *************/