genirq: Export irq_check_status_bit()
authorThomas Gleixner <tglx@linutronix.de>
Wed, 13 Jan 2021 14:43:18 +0000 (15:43 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 13 Jan 2021 14:48:05 +0000 (15:48 +0100)
One of the users can be built modular:

  ERROR: modpost: "irq_check_status_bit" [drivers/perf/arm_spe_pmu.ko] undefined!

Fixes: fdd029630434 ("genirq: Move status flag checks to core")
Reported-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20201227192049.GA195845@roeck-us.net
kernel/irq/manage.c

index ab8567f..dec3f73 100644 (file)
@@ -2859,3 +2859,4 @@ bool irq_check_status_bit(unsigned int irq, unsigned int bitmask)
        rcu_read_unlock();
        return res;
 }
+EXPORT_SYMBOL_GPL(irq_check_status_bit);