diff options
| author | Christoffer Dall <[email protected]> | 2018-01-25 17:32:29 +0000 |
|---|---|---|
| committer | Christoffer Dall <[email protected]> | 2018-01-31 09:10:38 +0000 |
| commit | f1d7231cede93a42d75b6d3c5ca599e94a273e89 (patch) | |
| tree | c72891674e1b4d1c6d88c2a9d2c66b186e6904c7 /lib/timerqueue.c | |
| parent | KVM: arm/arm64: Fix incorrect timer_is_pending logic (diff) | |
| download | kernel-f1d7231cede93a42d75b6d3c5ca599e94a273e89.tar.gz kernel-f1d7231cede93a42d75b6d3c5ca599e94a273e89.zip | |
KVM: arm/arm64: Fix userspace_irqchip_in_use counting
We were not decrementing the static key count in the right location.
kvm_arch_vcpu_destroy() is only called to clean up after a failed
VCPU create attempt, whereas kvm_arch_vcpu_free() is called on teardown
of the VM as well. Move the static key decrement call to
kvm_arch_vcpu_free().
Acked-by: Marc Zyngier <[email protected]>
Signed-off-by: Christoffer Dall <[email protected]>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions
