summaryrefslogtreecommitdiff
path: root/arch/x86/include
diff options
context:
space:
mode:
authorPavel Fedin <p.fedin@samsung.com>2015-10-27 08:37:30 (GMT)
committerChristoffer Dall <christoffer.dall@linaro.org>2015-11-04 14:29:49 (GMT)
commit212c76545dde8370ebde2a170e4f8e1ed8441dc0 (patch)
tree29f75e26593b1fc78e492e70beeb0c3190e69c4a /arch/x86/include
parentc4cd4c168b81dad53e659d18cdae653bc0ec2384 (diff)
downloadlinux-212c76545dde8370ebde2a170e4f8e1ed8441dc0.tar.xz
KVM: arm/arm64: Clean up vgic_retire_lr() and surroundings
1. Remove unnecessary 'irq' argument, because irq number can be retrieved from the LR. 2. Since cff9211eb1a1f58ce7f5a2d596b617928fd4be0e ("arm/arm64: KVM: Fix arch timer behavior for disabled interrupts ") LR_STATE_PENDING is queued back by vgic_retire_lr() itself. Also, it clears vlr.state itself. Therefore, we remove the same, now duplicated, check with all accompanying bit manipulations from vgic_unqueue_irqs(). 3. vgic_retire_lr() is always accompanied by vgic_irq_clear_queued(). Since it already does more than just clearing the LR, move vgic_irq_clear_queued() inside of it. Signed-off-by: Pavel Fedin <p.fedin@samsung.com> Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Diffstat (limited to 'arch/x86/include')
0 files changed, 0 insertions, 0 deletions