genirq, softirq: Use in_hardirq() instead of in_irq()
authorChangbin Du <changbin.du@gmail.com>
Fri, 28 Jan 2022 11:07:27 +0000 (19:07 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 2 Feb 2022 20:34:19 +0000 (21:34 +0100)
commitfe13889c390e14205e064d7e159e61eb5da4b1c3
tree0055c3f42df915d35f34d7d8a4738cf1aee54c4d
parent26291c54e111ff6ba87a164d85d4a4e134b7315c
genirq, softirq: Use in_hardirq() instead of in_irq()

Replace the obsolete and ambiguos macro in_irq() with the new macro
in_hardirq().

Signed-off-by: Changbin Du <changbin.du@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20220128110727.5110-1-changbin.du@gmail.com
kernel/irq/irqdesc.c
kernel/softirq.c