printk: Mark __printk percpu data ready __ro_after_init
authorThomas Gleixner <tglx@linutronix.de>
Sat, 24 Sep 2022 00:04:41 +0000 (02:10 +0206)
committerPetr Mladek <pmladek@suse.com>
Thu, 29 Sep 2022 13:20:52 +0000 (15:20 +0200)
commit78ba392c84c74903b979c1ef5ded93430acd9ad6
tree8771cdf3c77493714f65cfc0af68c802c06a54c3
parenteb4531b346c93fd01edc0cb155330bbee102d0bd
printk: Mark __printk percpu data ready __ro_after_init

This variable cannot change post boot.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: John Ogness <john.ogness@linutronix.de>
Reviewed-by: Sergey Senozhatsky <senozhatsky@chromium.org>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/20220924000454.3319186-6-john.ogness@linutronix.de
kernel/printk/printk.c