printk: reimplement log_cont using record extension
authorJohn Ogness <john.ogness@linutronix.de>
Mon, 14 Sep 2020 12:33:54 +0000 (14:39 +0206)
committerPetr Mladek <pmladek@suse.com>
Tue, 15 Sep 2020 14:39:50 +0000 (16:39 +0200)
commitf5f022e53b874f978dda23847173cbf2589b07f5
tree69533f8368e4c5a656012fffe7c0003e1fce3833
parent4cfc7258f876a7feba673ac6d050f525b39cc84c
printk: reimplement log_cont using record extension

Use the record extending feature of the ringbuffer to implement
continuous messages. This preserves the existing continuous message
behavior.

Signed-off-by: John Ogness <john.ogness@linutronix.de>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/20200914123354.832-7-john.ogness@linutronix.de
kernel/printk/printk.c