Commit d48de54a authored by Hans de Goede's avatar Hans de Goede Committed by Bartlomiej Zolnierkiewicz

printk: Export is_console_locked

This is a preparation patch for adding a number of WARN_CONSOLE_UNLOCKED()
calls to the fbcon code, which may be built as a module (event though
usually it is not).
Acked-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
Acked-by: default avatarSergey Senozhatsky <sergey.senozhatsky@gmail.com>
Acked-by: default avatarPetr Mladek <pmladek@suse.com>
Reviewed-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
parent 7daf201d
...@@ -2243,6 +2243,7 @@ int is_console_locked(void) ...@@ -2243,6 +2243,7 @@ int is_console_locked(void)
{ {
return console_locked; return console_locked;
} }
EXPORT_SYMBOL(is_console_locked);
/* /*
* Check if we have any console that is capable of printing while cpu is * Check if we have any console that is capable of printing while cpu is
......
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