diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2012-09-18 12:23:02 +0200 |
---|---|---|
committer | Christoffer Dall <cdall@cs.columbia.edu> | 2013-03-07 00:48:42 +0100 |
commit | 7c511b881f79a2a390e7c2e9a39b9a881255e614 (patch) | |
tree | aa40863b61abe4aa07976c5aae529118124a1064 /arch/arm/kvm/mmio.c | |
parent | ARM: KVM: abstract HSR_WNR away (diff) | |
download | linux-7c511b881f79a2a390e7c2e9a39b9a881255e614.tar.xz linux-7c511b881f79a2a390e7c2e9a39b9a881255e614.zip |
ARM: KVM: abstract HSR_SSE away
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <cdall@cs.columbia.edu>
Diffstat (limited to 'arch/arm/kvm/mmio.c')
-rw-r--r-- | arch/arm/kvm/mmio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/kvm/mmio.c b/arch/arm/kvm/mmio.c index 7d58cb5b8bde..058029c2d504 100644 --- a/arch/arm/kvm/mmio.c +++ b/arch/arm/kvm/mmio.c @@ -93,7 +93,7 @@ static int decode_hsr(struct kvm_vcpu *vcpu, phys_addr_t fault_ipa, } is_write = kvm_vcpu_dabt_iswrite(vcpu); - sign_extend = kvm_vcpu_get_hsr(vcpu) & HSR_SSE; + sign_extend = kvm_vcpu_dabt_issext(vcpu); rt = (kvm_vcpu_get_hsr(vcpu) & HSR_SRT_MASK) >> HSR_SRT_SHIFT; if (kvm_vcpu_reg_is_pc(vcpu, rt)) { |