summaryrefslogtreecommitdiff
path: root/ipc
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2022-04-19 21:27:48 +0300
committerMarc Zyngier <maz@kernel.org>2022-04-20 15:24:44 +0300
commitb57de4ffd7c6d1247fdaef8437450ab7c1dd4ed0 (patch)
treeb74b519f305cd05d4ac183551f72bf3014e2a5b2 /ipc
parent7d26b0516a0df5888fd1486054bc5159f6c0b88f (diff)
downloadlinux-b57de4ffd7c6d1247fdaef8437450ab7c1dd4ed0.tar.xz
KVM: arm64: Simplify kvm_cpu_has_pending_timer()
kvm_cpu_has_pending_timer() ends up checking all the possible timers for a wake-up cause. However, we already check for pending interrupts whenever we try to wake-up a vcpu, including the timer interrupts. Obviously, doing the same work twice is once too many. Reduce this helper to almost nothing, but keep it around, as we are going to make use of it soon. Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20220419182755.601427-4-maz@kernel.org
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions