[PATCH] KVM: PPC: Book3S HV: Export kvm_hpt_order

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
---
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 *************/
 
-- 
1.7.10.rc3.219.g53414

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


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux