diff options
Diffstat (limited to 'arch/ia64')
-rw-r--r-- | arch/ia64/kvm/kvm-ia64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/kvm/kvm-ia64.c b/arch/ia64/kvm/kvm-ia64.c index cf5a19390f4e..be4413e1f43f 100644 --- a/arch/ia64/kvm/kvm-ia64.c +++ b/arch/ia64/kvm/kvm-ia64.c | |||
@@ -2001,6 +2001,7 @@ static int vcpu_reset(struct kvm_vcpu *vcpu) | |||
2001 | long psr; | 2001 | long psr; |
2002 | local_irq_save(psr); | 2002 | local_irq_save(psr); |
2003 | r = kvm_insert_vmm_mapping(vcpu); | 2003 | r = kvm_insert_vmm_mapping(vcpu); |
2004 | local_irq_restore(psr); | ||
2004 | if (r) | 2005 | if (r) |
2005 | goto fail; | 2006 | goto fail; |
2006 | 2007 | ||
@@ -2013,7 +2014,6 @@ static int vcpu_reset(struct kvm_vcpu *vcpu) | |||
2013 | kvm_purge_vmm_mapping(vcpu); | 2014 | kvm_purge_vmm_mapping(vcpu); |
2014 | r = 0; | 2015 | r = 0; |
2015 | fail: | 2016 | fail: |
2016 | local_irq_restore(psr); | ||
2017 | return r; | 2017 | return r; |
2018 | } | 2018 | } |
2019 | 2019 | ||