alpha: in_irq() cleanup

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

Signed-off-by: Changbin Du <changbin.du@gmail.com>
Signed-off-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
Changbin Du 2021-08-14 09:01:03 +08:00 committed by Matt Turner
parent 0509666660
commit 290ec1d580
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ common_shutdown_1(void *generic_ptr)
#ifdef CONFIG_DUMMY_CONSOLE
/* If we've gotten here after SysRq-b, leave interrupt
context before taking over the console. */
if (in_irq())
if (in_hardirq())
irq_exit();
/* This has the effect of resetting the VGA video origin. */
console_lock();