projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7daf201
)
printk: Export is_console_locked
author
Hans de Goede
<
[email protected]
>
Thu, 28 Jun 2018 13:20:27 +0000
(15:20 +0200)
committer
Bartlomiej Zolnierkiewicz
<
[email protected]
>
Thu, 28 Jun 2018 13:20:27 +0000
(15:20 +0200)
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) <
[email protected]
>
Acked-by: Sergey Senozhatsky <
[email protected]
>
Acked-by: Petr Mladek <
[email protected]
>
Reviewed-by: Daniel Vetter <
[email protected]
>
Signed-off-by: Hans de Goede <
[email protected]
>
Signed-off-by: Bartlomiej Zolnierkiewicz <
[email protected]
>
kernel/printk/printk.c
patch
|
blob
|
history
diff --git
a/kernel/printk/printk.c
b/kernel/printk/printk.c
index 247808333ba430f75c0ac7382bc08d6f219685cf..3f041e7cbfc9ea5a016ec7c9cfb177280305a229 100644
(file)
--- a/
kernel/printk/printk.c
+++ b/
kernel/printk/printk.c
@@
-2243,6
+2243,7
@@
int is_console_locked(void)
{
return console_locked;
}
+EXPORT_SYMBOL(is_console_locked);
/*
* Check if we have any console that is capable of printing while cpu is