* [PATCH] KVM: PPC: Book3S HV: Export kvm_hpt_order
@ 2012-05-16 9:17 Paul Mackerras
2012-05-16 9:18 ` Alexander Graf
0 siblings, 1 reply; 2+ messages in thread
From: Paul Mackerras @ 2012-05-16 9:17 UTC (permalink / raw)
To: Alexander Graf; +Cc: kvm-ppc, kvm
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(+)
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] KVM: PPC: Book3S HV: Export kvm_hpt_order
2012-05-16 9:17 [PATCH] KVM: PPC: Book3S HV: Export kvm_hpt_order Paul Mackerras
@ 2012-05-16 9:18 ` Alexander Graf
0 siblings, 0 replies; 2+ messages in thread
From: Alexander Graf @ 2012-05-16 9:18 UTC (permalink / raw)
To: Paul Mackerras; +Cc: kvm-ppc, kvm
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-05-16 9:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-16 9:17 [PATCH] KVM: PPC: Book3S HV: Export kvm_hpt_order Paul Mackerras
2012-05-16 9:18 ` Alexander Graf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox