On (12/20/18 17:31), Bartlomiej Zolnierkiewicz wrote:
[..]
quoted
+++ b/kernel/printk/printk.c
@@ -66,6 +66,7 @@ int console_printk[4] = {
CONSOLE_LOGLEVEL_MIN, /* minimum_console_loglevel */
CONSOLE_LOGLEVEL_DEFAULT, /* default_console_loglevel */
};
+EXPORT_SYMBOL(console_printk);
You need printk Maintainers Ack on it.
I would prefer this to be in a separate patch, probably.
Exporting (I think EXPORT_SYMBOL_GPL would be better) console_printk[4]
seems to be the simplest solution.
Alternatively, we can have a new fbcon function which would be called
from quiet_kernel() and would set logo_shown accordingly.
-ss