diff options
author | Hans de Goede <hdegoede@redhat.com> | 2018-07-30 09:58:37 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2018-07-30 16:46:56 +0200 |
commit | 838818e5a9e7bd845732d74108223bb5457f9e72 (patch) | |
tree | 5738dae114919536a8e7a9a1a3fc8a094b34a9ff /0002-printk-Export-is_console_locked.patch | |
parent | 86f7bf57f922080bcb95684cc482ff1ba244020f (diff) | |
download | kernel-838818e5a9e7bd845732d74108223bb5457f9e72.tar.gz kernel-838818e5a9e7bd845732d74108223bb5457f9e72.tar.xz kernel-838818e5a9e7bd845732d74108223bb5457f9e72.zip |
Add patch queued in -next to make quiet more quiet
Add patches queued in -next to make efifb / fbcon retain the vendor logo
(ACPI BRGT boot graphics) until the first text is output to the console
Diffstat (limited to '0002-printk-Export-is_console_locked.patch')
-rw-r--r-- | 0002-printk-Export-is_console_locked.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/0002-printk-Export-is_console_locked.patch b/0002-printk-Export-is_console_locked.patch new file mode 100644 index 000000000..aad37308d --- /dev/null +++ b/0002-printk-Export-is_console_locked.patch @@ -0,0 +1,34 @@ +From d48de54a9dab5370edd2e991f78cc7996cf5483e Mon Sep 17 00:00:00 2001 +From: Hans de Goede <hdegoede@redhat.com> +Date: Thu, 28 Jun 2018 15:20:27 +0200 +Subject: [PATCH 2/7] 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 | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c +index 247808333ba4..3f041e7cbfc9 100644 +--- 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 +-- +2.18.0 + |