linux/kernel/printk
John Ogness e3bc0401c1 printk: ringbuffer: add BLK_DATALESS() macro
Rather than continually needing to explicitly check @begin and @next
to identify a dataless block, introduce and use a BLK_DATALESS()
macro.

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-3-john.ogness@linutronix.de
2020-09-15 15:44:49 +02:00
..
braille.c printk: Replace strncmp() with str_has_prefix() 2019-08-16 09:54:08 +02:00
braille.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
console_cmdline.h printk: Fix preferred console selection with multiple matches 2020-02-18 09:34:42 +01:00
internal.h printk: Prepare for nested printk_nmi_enter() 2020-05-19 15:51:16 +02:00
Makefile printk: add lockless ringbuffer 2020-07-10 08:48:19 +02:00
printk_ringbuffer.c printk: ringbuffer: add BLK_DATALESS() macro 2020-09-15 15:44:49 +02:00
printk_ringbuffer.h printk: ringbuffer: support dataless records 2020-09-08 09:32:59 +02:00
printk_safe.c One more printk change for 5.8 2020-06-12 12:13:36 -07:00
printk.c printk: use the lockless ringbuffer 2020-07-10 08:48:55 +02:00