diff options
author | Marc Zyngier <maz@kernel.org> | 2022-04-19 21:27:48 +0300 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2022-04-20 15:24:44 +0300 |
commit | b57de4ffd7c6d1247fdaef8437450ab7c1dd4ed0 (patch) | |
tree | b74b519f305cd05d4ac183551f72bf3014e2a5b2 /ipc | |
parent | 7d26b0516a0df5888fd1486054bc5159f6c0b88f (diff) | |
download | linux-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