diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2012-09-18 12:07:06 +0100 |
---|---|---|
committer | Christoffer Dall <cdall@cs.columbia.edu> | 2013-03-06 15:48:43 -0800 |
commit | 23b415d61a80c0c63f43dd2b3a08a1fa0b79b8ea (patch) | |
tree | c5d736a85f1840beaf17f534b16182acedcfefdf /arch/arm/kvm/arm.c | |
parent | a7123377e7107a5f4f7ae198aa5b5000c9362871 (diff) | |
download | op-kernel-dev-23b415d61a80c0c63f43dd2b3a08a1fa0b79b8ea.zip op-kernel-dev-23b415d61a80c0c63f43dd2b3a08a1fa0b79b8ea.tar.gz |
ARM: KVM: abstract IL decoding 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/arm.c')
-rw-r--r-- | arch/arm/kvm/arm.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/kvm/arm.c b/arch/arm/kvm/arm.c index 6626c7e..3161633 100644 --- a/arch/arm/kvm/arm.c +++ b/arch/arm/kvm/arm.c @@ -624,8 +624,7 @@ static int handle_exit(struct kvm_vcpu *vcpu, struct kvm_run *run, * that fail their condition code check" */ if (!kvm_condition_valid(vcpu)) { - bool is_wide = kvm_vcpu_get_hsr(vcpu) & HSR_IL; - kvm_skip_instr(vcpu, is_wide); + kvm_skip_instr(vcpu, kvm_vcpu_trap_il_is32bit(vcpu)); return 1; } |