diff options
Diffstat (limited to 'arch/powerpc/kvm/booke_guest.c')
-rw-r--r-- | arch/powerpc/kvm/booke_guest.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/powerpc/kvm/booke_guest.c b/arch/powerpc/kvm/booke_guest.c index c0f8532630ec..41bbf4c78f88 100644 --- a/arch/powerpc/kvm/booke_guest.c +++ b/arch/powerpc/kvm/booke_guest.c | |||
@@ -307,7 +307,7 @@ int kvmppc_handle_exit(struct kvm_run *run, struct kvm_vcpu *vcpu, | |||
307 | break; | 307 | break; |
308 | 308 | ||
309 | case BOOKE_INTERRUPT_DTLB_MISS: { | 309 | case BOOKE_INTERRUPT_DTLB_MISS: { |
310 | struct tlbe *gtlbe; | 310 | struct kvmppc_44x_tlbe *gtlbe; |
311 | unsigned long eaddr = vcpu->arch.fault_dear; | 311 | unsigned long eaddr = vcpu->arch.fault_dear; |
312 | gfn_t gfn; | 312 | gfn_t gfn; |
313 | 313 | ||
@@ -347,7 +347,7 @@ int kvmppc_handle_exit(struct kvm_run *run, struct kvm_vcpu *vcpu, | |||
347 | } | 347 | } |
348 | 348 | ||
349 | case BOOKE_INTERRUPT_ITLB_MISS: { | 349 | case BOOKE_INTERRUPT_ITLB_MISS: { |
350 | struct tlbe *gtlbe; | 350 | struct kvmppc_44x_tlbe *gtlbe; |
351 | unsigned long eaddr = vcpu->arch.pc; | 351 | unsigned long eaddr = vcpu->arch.pc; |
352 | gfn_t gfn; | 352 | gfn_t gfn; |
353 | 353 | ||
@@ -442,7 +442,7 @@ int kvmppc_handle_exit(struct kvm_run *run, struct kvm_vcpu *vcpu, | |||
442 | /* Initial guest state: 16MB mapping 0 -> 0, PC = 0, MSR = 0, R1 = 16MB */ | 442 | /* Initial guest state: 16MB mapping 0 -> 0, PC = 0, MSR = 0, R1 = 16MB */ |
443 | int kvm_arch_vcpu_setup(struct kvm_vcpu *vcpu) | 443 | int kvm_arch_vcpu_setup(struct kvm_vcpu *vcpu) |
444 | { | 444 | { |
445 | struct tlbe *tlbe = &vcpu->arch.guest_tlb[0]; | 445 | struct kvmppc_44x_tlbe *tlbe = &vcpu->arch.guest_tlb[0]; |
446 | 446 | ||
447 | tlbe->tid = 0; | 447 | tlbe->tid = 0; |
448 | tlbe->word0 = PPC44x_TLB_16M | PPC44x_TLB_VALID; | 448 | tlbe->word0 = PPC44x_TLB_16M | PPC44x_TLB_VALID; |
@@ -553,7 +553,7 @@ int kvm_arch_vcpu_ioctl_set_fpu(struct kvm_vcpu *vcpu, struct kvm_fpu *fpu) | |||
553 | int kvm_arch_vcpu_ioctl_translate(struct kvm_vcpu *vcpu, | 553 | int kvm_arch_vcpu_ioctl_translate(struct kvm_vcpu *vcpu, |
554 | struct kvm_translation *tr) | 554 | struct kvm_translation *tr) |
555 | { | 555 | { |
556 | struct tlbe *gtlbe; | 556 | struct kvmppc_44x_tlbe *gtlbe; |
557 | int index; | 557 | int index; |
558 | gva_t eaddr; | 558 | gva_t eaddr; |
559 | u8 pid; | 559 | u8 pid; |