genirq/manage: Rework irq_set_vcpu_affinity()
authorThomas Gleixner <tglx@linutronix.de>
Thu, 13 Mar 2025 16:00:39 +0000 (17:00 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 7 May 2025 07:08:15 +0000 (09:08 +0200)
commit55ac0ad22fec0c5c5a76112725804957a62f5af7
treef69f14fb13ea6c40052f452dd0f05d1461a167db
parent7e04e5c6f6158d5528f0591cc6b3fc1a2b771a90
genirq/manage: Rework irq_set_vcpu_affinity()

Use the new guards to get and lock the interrupt descriptor and tidy up the
code.

No functional change.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/all/87ikmlq0fk.ffs@tglx
kernel/irq/manage.c