genirq: Reuse irq_is_nmi()

Move irq_is_nmi() to the internal header file and reuse it all over the
place.

Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20240423024037.3331215-1-ruanjinjie@huawei.com
This commit is contained in:
Jinjie Ruan 2024-04-23 02:40:37 +00:00 • committed by Thomas Gleixner
commit 6678ae1918
4 changed files with 14 additions and 14 deletions