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)
commit08395c7f4d9f5808b5754a0dbed969f378bde0c3
tree4f490fe49af5d5d95245cf8e778eb5c9f74361ec
parent5bdecb7971572a1aef828df507558e7a4dfe25ec
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