printk: Export is_console_locked
authorHans de Goede <hdegoede@redhat.com>
Thu, 28 Jun 2018 13:20:27 +0000 (15:20 +0200)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Thu, 28 Jun 2018 13:20:27 +0000 (15:20 +0200)
commitd48de54a9dab5370edd2e991f78cc7996cf5483e
treef916ccec31eb82985b32998ac505c7e69b4c4c57
parent7daf201d7fe8334e2d2364d4e8ed3394ec9af819
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: Steven Rostedt (VMware) <rostedt@goodmis.org>
Acked-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Acked-by: Petr Mladek <pmladek@suse.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
kernel/printk/printk.c