]> git.baikalelectronics.ru Git - kernel.git/commit
irqdesc: Add function to identify percpu_devid irqs
authorJulien Thierry <julien.thierry@arm.com>
Fri, 13 Oct 2017 11:26:44 +0000 (12:26 +0100)
committerWill Deacon <will.deacon@arm.com>
Tue, 24 Oct 2017 15:03:28 +0000 (16:03 +0100)
commit8db6dc320b0890483e1338de3553c460223963bd
tree4f490fe49af5d5d95245cf8e778eb5c9f74361ec
parent943b6b65cf74f978c53cf720d579c5faf626cf35
irqdesc: Add function to identify percpu_devid irqs

irq_is_percpu indicates whether an irq should only target a single cpu.
PERCPU_DEVID flag indicates that an irq can be configured differently on
each cpu it can target.

Provide a function to check whether an irq is PERCPU_DEVID.

Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Julien Thierry <julien.thierry@arm.com>
include/linux/irqdesc.h