Skip to content

Commit d48de54

Browse files
jwrdegoedebzolnier
authored andcommitted
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>
1 parent 7daf201 commit d48de54

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

kernel/printk/printk.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2243,6 +2243,7 @@ int is_console_locked(void)
22432243
{
22442244
return console_locked;
22452245
}
2246+
EXPORT_SYMBOL(is_console_locked);
22462247

22472248
/*
22482249
* Check if we have any console that is capable of printing while cpu is

0 commit comments

Comments
 (0)