]> Git Repo - linux.git/commitdiff
alpha: in_irq() cleanup
authorChangbin Du <[email protected]>
Sat, 14 Aug 2021 01:01:03 +0000 (09:01 +0800)
committerMatt Turner <[email protected]>
Sat, 25 Feb 2023 04:14:22 +0000 (23:14 -0500)
Replace the obsolete and ambiguos macro in_irq() with new
macro in_hardirq().

Signed-off-by: Changbin Du <[email protected]>
Signed-off-by: Matt Turner <[email protected]>
arch/alpha/kernel/process.c

index 114783e021175c1d5a919e5971e49127f585753c..86caf3f777a40173bc209651be1762751f6473ad 100644 (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();
This page took 0.060776 seconds and 4 git commands to generate.