diff options
author | Hollis Blanchard <hollisb@us.ibm.com> | 2009-01-03 17:23:03 -0500 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2009-03-24 05:02:56 -0400 |
commit | fa86b8dda2e0faccefbeda61edc02a50bd588f4f (patch) | |
tree | d86fa2b51cafba9d226f32de4f4d7f189f792875 /arch/powerpc/kvm/booke.c | |
parent | be8d1cae07d5acf4a61046d7def5eda40f0981e1 (diff) |
KVM: ppc: rename 44x MMU functions used in booke.c
e500 will provide its own implementation of these.
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/powerpc/kvm/booke.c')
-rw-r--r-- | arch/powerpc/kvm/booke.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/kvm/booke.c b/arch/powerpc/kvm/booke.c index 56d6ed69ed60..1e692ac16e99 100644 --- a/arch/powerpc/kvm/booke.c +++ b/arch/powerpc/kvm/booke.c | |||
@@ -292,7 +292,7 @@ int kvmppc_handle_exit(struct kvm_run *run, struct kvm_vcpu *vcpu, | |||
292 | gfn_t gfn; | 292 | gfn_t gfn; |
293 | 293 | ||
294 | /* Check the guest TLB. */ | 294 | /* Check the guest TLB. */ |
295 | gtlb_index = kvmppc_44x_dtlb_index(vcpu, eaddr); | 295 | gtlb_index = kvmppc_mmu_dtlb_index(vcpu, eaddr); |
296 | if (gtlb_index < 0) { | 296 | if (gtlb_index < 0) { |
297 | /* The guest didn't have a mapping for it. */ | 297 | /* The guest didn't have a mapping for it. */ |
298 | kvmppc_booke_queue_irqprio(vcpu, BOOKE_IRQPRIO_DTLB_MISS); | 298 | kvmppc_booke_queue_irqprio(vcpu, BOOKE_IRQPRIO_DTLB_MISS); |
@@ -337,7 +337,7 @@ int kvmppc_handle_exit(struct kvm_run *run, struct kvm_vcpu *vcpu, | |||
337 | r = RESUME_GUEST; | 337 | r = RESUME_GUEST; |
338 | 338 | ||
339 | /* Check the guest TLB. */ | 339 | /* Check the guest TLB. */ |
340 | gtlb_index = kvmppc_44x_itlb_index(vcpu, eaddr); | 340 | gtlb_index = kvmppc_mmu_itlb_index(vcpu, eaddr); |
341 | if (gtlb_index < 0) { | 341 | if (gtlb_index < 0) { |
342 | /* The guest didn't have a mapping for it. */ | 342 | /* The guest didn't have a mapping for it. */ |
343 | kvmppc_booke_queue_irqprio(vcpu, BOOKE_IRQPRIO_ITLB_MISS); | 343 | kvmppc_booke_queue_irqprio(vcpu, BOOKE_IRQPRIO_ITLB_MISS); |