diff options
-rw-r--r-- | arch/powerpc/kvm/booke_emulate.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/kvm/booke_emulate.c b/arch/powerpc/kvm/booke_emulate.c index 4685b8cf2249..27a4b2877c10 100644 --- a/arch/powerpc/kvm/booke_emulate.c +++ b/arch/powerpc/kvm/booke_emulate.c | |||
@@ -269,6 +269,9 @@ int kvmppc_booke_emulate_mfspr(struct kvm_vcpu *vcpu, int sprn, ulong *spr_val) | |||
269 | case SPRN_ESR: | 269 | case SPRN_ESR: |
270 | *spr_val = vcpu->arch.shared->esr; | 270 | *spr_val = vcpu->arch.shared->esr; |
271 | break; | 271 | break; |
272 | case SPRN_EPR: | ||
273 | *spr_val = vcpu->arch.epr; | ||
274 | break; | ||
272 | case SPRN_CSRR0: | 275 | case SPRN_CSRR0: |
273 | *spr_val = vcpu->arch.csrr0; | 276 | *spr_val = vcpu->arch.csrr0; |
274 | break; | 277 | break; |