Commit 290ec1d5 authored by Changbin Du's avatar Changbin Du Committed by Matt Turner

alpha: in_irq() cleanup

Replace the obsolete and ambiguos macro in_irq() with new
macro in_hardirq().
Signed-off-by: default avatarChangbin Du <changbin.du@gmail.com>
Signed-off-by: default avatarMatt Turner <mattst88@gmail.com>
parent 05096666
...@@ -134,7 +134,7 @@ common_shutdown_1(void *generic_ptr) ...@@ -134,7 +134,7 @@ common_shutdown_1(void *generic_ptr)
#ifdef CONFIG_DUMMY_CONSOLE #ifdef CONFIG_DUMMY_CONSOLE
/* If we've gotten here after SysRq-b, leave interrupt /* If we've gotten here after SysRq-b, leave interrupt
context before taking over the console. */ context before taking over the console. */
if (in_irq()) if (in_hardirq())
irq_exit(); irq_exit();
/* This has the effect of resetting the VGA video origin. */ /* This has the effect of resetting the VGA video origin. */
console_lock(); console_lock();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment