genirq: Move status flag checks to core
authorThomas Gleixner <tglx@linutronix.de>
Thu, 10 Dec 2020 19:25:38 +0000 (20:25 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 15 Dec 2020 15:19:30 +0000 (16:19 +0100)
commitfdd029630434b434b127efc7fba337da28f45658
treec8a1c178eb8869422e6d5ee5517a9842dd5bd903
parenta313357e704f2617f298333e3e617a38b1719760
genirq: Move status flag checks to core

These checks are used by modules and prevent the removal of the export of
irq_to_desc(). Move the accessor into the core.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20201210194042.703779349@linutronix.de
include/linux/irqdesc.h
kernel/irq/manage.c