]> git.dujemihanovic.xyz Git - linux.git/commit
genirq: Use cpumask_intersects()
authorCosta Shulyupin <costa.shul@redhat.com>
Fri, 6 Sep 2024 17:01:40 +0000 (20:01 +0300)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 8 Sep 2024 14:06:51 +0000 (16:06 +0200)
commita6fe30d1e3657991c832702cecb44576128d7fa3
tree2005c906d8a46e2107afc40edf7ab8eb04189f1e
parent87b5a153b862b7d937fc1dd499368297a1feae87
genirq: Use cpumask_intersects()

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

Signed-off-by: Costa Shulyupin <costa.shul@redhat.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20240906170142.1135207-1-costa.shul@redhat.com
kernel/irq/chip.c
kernel/irq/migration.c