summaryrefslogtreecommitdiffstats
path: root/arch/alpha/kernel/process.c
diff options
context:
space:
mode:
authorChangbin Du <changbin.du@gmail.com>2021-08-14 03:01:03 +0200
committerMatt Turner <mattst88@gmail.com>2023-02-25 05:14:22 +0100
commit290ec1d58049e6203062d5fc796c50852112ae00 (patch)
tree6d18982459bc769d1f666ed1e3550715ebfbf451 /arch/alpha/kernel/process.c
parentalpha: lazy FPU switching (diff)
downloadlinux-290ec1d58049e6203062d5fc796c50852112ae00.tar.xz
linux-290ec1d58049e6203062d5fc796c50852112ae00.zip
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>
Diffstat (limited to 'arch/alpha/kernel/process.c')
-rw-r--r--arch/alpha/kernel/process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/alpha/kernel/process.c b/arch/alpha/kernel/process.c
index 114783e02117..86caf3f777a4 100644
--- a/arch/alpha/kernel/process.c
+++ b/arch/alpha/kernel/process.c
@@ -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();