summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorChristoffer Dall <christoffer.dall@linaro.org>2018-01-26 18:20:22 +0300
committerChristoffer Dall <christoffer.dall@linaro.org>2018-01-31 12:10:49 +0300
commitcd15d2050c044ca9525ba165e9073ac8e036b8d0 (patch)
tree1d5c9e38c4a3c7cd05ee21ee9544103a1371c919 /init
parentf1d7231cede93a42d75b6d3c5ca599e94a273e89 (diff)
downloadlinux-cd15d2050c044ca9525ba165e9073ac8e036b8d0.tar.xz
KVM: arm/arm64: Fixup userspace irqchip static key optimization
When I introduced a static key to avoid work in the critical path for userspace irqchips which is very rarely used, I accidentally messed up my logic and used && where I should have used ||, because the point was to short-circuit the evaluation in case userspace irqchips weren't even in use. This fixes an issue when running in-kernel irqchip VMs alongside userspace irqchip VMs. Acked-by: Marc Zyngier <marc.zyngier@arm.com> Fixes: c44c232ee2d3 ("KVM: arm/arm64: Avoid work when userspace iqchips are not used") Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions