]> www.infradead.org Git - users/jedix/linux-maple.git/commit
genirq/cpuhotplug: Use cpumask_intersects()
authorCosta Shulyupin <costa.shul@redhat.com>
Wed, 4 Sep 2024 13:48:23 +0000 (16:48 +0300)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 6 Sep 2024 14:28:39 +0000 (16:28 +0200)
commit87b5a153b862b7d937fc1dd499368297a1feae87
tree0957f0464e6010324e6ce353f4873db9190e9bd2
parent59fc20ba70294d2c5f620ad6206aa661ce7718d6
genirq/cpuhotplug: Use cpumask_intersects()

Replace `cpumask_any_and(a, b) >= nr_cpu_ids`
with the more readable `!cpumask_intersects(a, b)`.

[ tglx: Massaged change log ]

Signed-off-by: Costa Shulyupin <costa.shul@redhat.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/all/20240904134823.777623-2-costa.shul@redhat.com
kernel/irq/cpuhotplug.c