diff mbox

KVM: PPC: Book3S HV: Export kvm_hpt_order

Message ID 20120516091705.GB30694@bloggs.ozlabs.ibm.com
State New, archived
Headers show

Commit Message

Paul Mackerras May 16, 2012, 9:17 a.m. UTC
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 <paulus@samba.org>
---
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(+)

Comments

Alexander Graf May 16, 2012, 9:18 a.m. UTC | #1
On 05/16/2012 11:17 AM, Paul Mackerras wrote:
> 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<paulus@samba.org>
> ---
> 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.

Yeah, already fixed it locally. Test building as we speak.


Alex

--
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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 *************/