Skip to content

Commit 290ec1d

Browse files
changbindumattst88
authored andcommitted
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>
1 parent 0509666 commit 290ec1d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/alpha/kernel/process.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ common_shutdown_1(void *generic_ptr)
134134
#ifdef CONFIG_DUMMY_CONSOLE
135135
/* If we've gotten here after SysRq-b, leave interrupt
136136
context before taking over the console. */
137-
if (in_irq())
137+
if (in_hardirq())
138138
irq_exit();
139139
/* This has the effect of resetting the VGA video origin. */
140140
console_lock();

0 commit comments

Comments
 (0)