diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2012-09-18 15:09:58 +0200 |
---|---|---|
committer | Christoffer Dall <cdall@cs.columbia.edu> | 2013-03-07 00:48:43 +0100 |
commit | 4926d445eb76bec8ebd71f5ed9e9c94fd738014d (patch) | |
tree | ba608d6643fea298f0f7517a142a4cde78114056 /arch/arm/kvm/mmu.c | |
parent | ARM: KVM: abstract IL decoding away (diff) | |
download | linux-4926d445eb76bec8ebd71f5ed9e9c94fd738014d.tar.xz linux-4926d445eb76bec8ebd71f5ed9e9c94fd738014d.zip |
ARM: KVM: abstract exception class decoding away
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'arch/arm/kvm/mmu.c')
-rw-r--r-- | arch/arm/kvm/mmu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/kvm/mmu.c b/arch/arm/kvm/mmu.c index d0f5f52c179f..41fa75df107f 100644 --- a/arch/arm/kvm/mmu.c +++ b/arch/arm/kvm/mmu.c @@ -593,7 +593,7 @@ int kvm_handle_guest_abort(struct kvm_vcpu *vcpu, struct kvm_run *run) gfn_t gfn; int ret, idx; - hsr_ec = kvm_vcpu_get_hsr(vcpu) >> HSR_EC_SHIFT; + hsr_ec = kvm_vcpu_trap_get_class(vcpu); is_iabt = (hsr_ec == HSR_EC_IABT); fault_ipa = kvm_vcpu_get_fault_ipa(vcpu); |